Classes
AddedRemovedEvent
AlertElement
AnchorContainerElement
ArrowShape
ButtonElement
CanvasElement
CanvasManager
CheckboxElement
CheckboxSkinElement
CollectionChangedEvent
CollectionSort
ColorPickerButtonElement
ColorPickerElement
ContainerBaseElement
CursorDefinition
DataGridColumnDefinition
DataGridDataRenderer
DataGridElement
DataGridHeaderColumnDividerSkinElement
DataGridHeaderElement
DataGridHeaderItemRenderer
DataGridItemData
DataGridItemRendererBase
DataGridLabelItemRenderer
DataListData
DataListElement
DataRendererBaseElement
DataRendererLabelElement
DatePickerButtonElement
DatePickerElement
DispatcherEvent
DrawMetrics
DropdownArrowButtonSkinElement
DropdownBaseElement
DropdownElement
ElementEvent
ElementGridItemClickEvent
ElementKeyboardEvent
ElementListItemClickEvent
ElementMouseEvent
ElementMouseWheelEvent
EllipseShape
EventDispatcher
FillBase
GridContainerElement
GridContainerRowColumnDefinition
ImageElement
IpInputElement
LabelElement
LinearGradientFill
ListCollection
ListContainerElement
ProgressElement
RadioButtonElement
RadioButtonSkinElement
RoundedRectangleShape
ScrollBarElement
ScrollButtonSkinElement
ShapeBase
SkinnableElement
SolidFill
StyleableBase
StyleChangedEvent
StyleData
StyleDefinition
StyleProxy
TextAreaElement
TextElement
TextFieldElement
TextInputElement
TimeInputElement
ToggleButtonElement
ToggleButtonGroup
Tween
ViewportElement


FillBase

Abstract base class for filling element's background shape.
This can be assigned to CanvasElement's "BackgroundFill" style.
When sub-classing, add any necessary styles and implement the drawFill() function.

Inheritance:     FillBase ➞ StyleableBaseStyleDefinitionEventDispatcher ➞ Object

Events
Show Inherited


Public Functions
Show Inherited
Function Defined By
FillBase() [Constructor] FillBase
Creates new FillBase instance.
 
drawFill(ctx, metrics) FillBase
Abstract stub used to fill an elements background.
Override this, setup the Canvas2DContext's fill style via ctx.fillStyle and call ctx.fill().
The background shape path will have already been drawn by the elements ShapeBase class.
  ctx     :    Canvas2DContext
The Canvas2DContext to draw the fill on.
  metrics     :    DrawMetrics
DrawMetrics object to use as the bounding box for the fill.
 


Internal Functions
Show Inherited