virtual class vaseGui::ImageView

sys::Obj
  vaseGui::Widget
    vaseGui::ImageView

@Js

A display area for image

fitHeight

const static Int fitHeight := 3

fitWidth

const static Int fitWidth := 2

gestureEvent

protected virtual override Void gestureEvent(GestureEvent e)

image

@Transient
Image? image

imgOffsetX

Float imgOffsetX := 0.0f

imgOffsetY

Float imgOffsetY := 0.0f

imgScaleX

Float imgScaleX := 1.0f

imgScaleY

Float imgScaleY := 1.0f

imgToWidget

Void imgToWidget(Coord p)

init

protected Void init()

isInited

Bool isInited := false

keepSize

const static Int keepSize := 0

layoutChildren

protected virtual override Void layoutChildren(Bool force)

make

new make()

mask

Int mask := 0

maskCircle

const static Int maskCircle := 1

motionEvent

protected virtual override Void motionEvent(MotionEvent e)

scaleType

Int scaleType := fitWidth

setDragable

Void setDragable()

stretch

const static Int stretch := 1

uri

Uri? uri

widgetToImg

Void widgetToImg(Coord p)

zoom

protected Void zoom(Coord point, Float scale)