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


ImageElement

ImageElement renders an image (imagine that).
Images can be loaded via "url" or pre-loaded via DOM image reference and can be stretched, tiled, or aligned.

Inheritance:     ImageElement ➞ CanvasElementStyleableBaseStyleDefinitionEventDispatcher ➞ Object

Styles
Show Inherited
Style Defined By
ImageHorizontalAlign     :    String ImageElement
Aligns the image horizontally when using ImageScaleType "none" or "fit" and not all of the available space is consumed.
Allowable values are "left", "center", "right".
 
ImageScaleType     :    String ImageElement
Determines how the image should be stretched or scaled. Allowable values are "none", "fit", "stretch", "tile", or "tilefit".
"none" will not modify the original image,
"fit" stretches the image but maintains the aspect ratio to fit the available area's minimum width/height constraint,
"stretch" stretches the image to fit the entire available area disregarding aspect ratio,
"tile" will not modify the original image but repeat it in both directions to fill the available area.
"tilefit" stretches the image but maintains the aspect ratio, any remaining space in the areas maximum width/height constraint is tiled with the stretched image.
 
ImageSource     :    String ImageElement
Image to render. This may be a String URL, or a reference to a DOM image or canvas.
 
ImageSourceClipHeight     :    Number ImageElement
Height in pixels of the clip area for the source image.
 
ImageSourceClipWidth     :    Number ImageElement
Width in pixels of the clip area for the source image.
 
ImageSourceClipX     :    Number ImageElement
X position in pixels of the clip area for the source image.
 
ImageSourceClipY     :    Number ImageElement
Y position in pixels of the clip area for the source image.
 
ImageVerticalAlign     :    String ImageElement
Aligns the image vertically when using ImageScaleType "none" or "fit" and not all of the available space is consumed.
Allowable values are "top", "middle", "bottom".
 


Events
Show Inherited


Public Functions
Show Inherited
Function Defined By
ImageElement() [Constructor] ImageElement
Creates new ImageElement instance.
 


Internal Members
Show Inherited
Member Defined By
_imageLoadComplete     :    boolean ImageElement
Read Only - True if the image has completed loading, otherwise false.
 


Internal Functions
Show Inherited