Class ImageDrawable

class ImageDrawable
  : Drawable;

Constructors

NameDescription
this (image, tiled, ninePatch)

Fields

NameTypeDescription
_image Ref!(dcanvas.graphics.drawbuf.DrawBuf)
_tiled bool
_refCount intcount of references to this object from Ref

Properties

NameTypeDescription
height[get] int
padding[get] Rect
width[get] int
refCount[get] intreturns current value of reference counter

Methods

NameDescription
drawTo (buf, rc, state, tilex0, tiley0)
addRef () increments reference counter
releaseRef () decrement reference counter, destroy object if no more references left

Aliases

NameDescription
~this