const class slanUtil::Patchca

sys::Obj
  slanUtil::Patchca

generate the image auth code

charPad

const Int charPad := 0

create

Str create(OutStream out)

output the image to stream, and return the generate code

fontSize

const Int fontSize := 30

height

const Int height := 30

make

new make(Func<Void,This>? f := null)

margin

const Int margin := 5

n

const Int n := 4

char num

noise

const Int noise := 4

width

const Int width := 80

image size