Class GradientDrawable

class GradientDrawable
  : Drawable;

Constructors

NameDescription
this (angle, color1, color2)

Fields

NameTypeDescription
_color1 uint
_color2 uint
_color3 uint
_color4 uint
_refCount intcount of references to this object from Ref

Properties

NameTypeDescription
height[get] int
width[get] int
padding[get] Rect
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