Class CombinedDrawable

Drawable which allows to combine together background image, gradient, borders, box shadows, etc.

class CombinedDrawable
  : Drawable;

Constructors

NameDescription
this (backgroundColor, backgroundImageId, borderDescription, boxShadowDescription)

Fields

NameTypeDescription
background Ref!(dcanvas.graphics.resources.Drawable)
border Ref!(dcanvas.graphics.resources.Drawable)
boxShadow Ref!(dcanvas.graphics.resources.Drawable)
_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