| Package | com.degrafa.geometry |
| Class | public class RasterText |
| Inheritance | RasterText Geometry DegrafaObject |
| Implements | IDisplayObjectProxy |
RasterText represents a bitmap copy of text content that can be part of a geometry composition with behavior similar to a regular geometry object. It provides a simple way to include Text based content within compositions rendered to an arbitrary graphics context.
| Property | Defined by | ||
|---|---|---|---|
| accessibilityProperties : AccessibilityProperties
accessibilityProperties property for the textField.
| RasterText | ||
| align : String | RasterText | ||
| alpha : Number
alpha property for the textField.
| RasterText | ||
| antiAliasType : String
antiAliasType property for the textField.
| RasterText | ||
![]() | autoClearGraphicsTarget : Boolean
When using a graphicsTarget and if this property is set to true
the draw phase will clear the graphics context before drawing.
| Geometry | |
| autoSize : String
autoSize property for the textField.
| RasterText | ||
| autoSizeField : Boolean
Autosize the text field to text size.
| RasterText | ||
| availableEmbeddedFonts : Array [static][read-only]
Utility function for checking fonts
| RasterText | ||
| background : Boolean
background property for the textField.
| RasterText | ||
| backgroundColor : Object
Similar to backgroundColor property for the textField.
| RasterText | ||
| backgroundFill : IGraphicsFill
A Degrafa Fill used in the background of this RasterText area.
| RasterText | ||
| blockIndent : Object | RasterText | ||
| bold : Boolean | RasterText | ||
| border : Boolean
border property for the textField.
| RasterText | ||
| borderColor : Object
borderColor property for the textField.
| RasterText | ||
![]() | bottom : Number
When set, the bottom of the layout will be located
offset from the bottom of it's parent.
| Geometry | |
| bounds : Rectangle [read-only]
The tight bounds of this element as represented by a Rectangle object.
| RasterText | ||
| bullet : Object | RasterText | ||
![]() | clippingRectangle : Rectangle
A clipping rectangle to use when rendering this geometry.
| Geometry | |
![]() | commandStack : CommandStack
Provides access to the command stack.
| Geometry | |
| condenseWhite : Boolean
condenseWhite property for the textField.
| RasterText | ||
![]() | currentState : String
The current view state.
| Geometry | |
![]() | decoratorCollection : DecoratorCollection
Access to the Decorator collection object for this Geometry object.
| Geometry | |
![]() | decorators : Array
A array of IDecorator objects to be applied on this Geometry.
| Geometry | |
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
| embedFonts : Boolean
embedFonts property for the textField.
| RasterText | ||
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
| fill : IGraphicsFill | RasterText | ||
![]() | filters : Array
An array of BitmapFilter objects applied to this Geometry.
| Geometry | |
| fontFamily : String | RasterText | ||
| fontSize : Number | RasterText | ||
| fontWeight : String | RasterText | ||
![]() | geometricLength : Number
Returns geometric length of this object.
| Geometry | |
![]() | geometry : Array
A array of IGeometryComposition objects.
| Geometry | |
![]() | geometryCollection : GeometryCollection
Access to the Degrafa geometry collection object for this geometry object.
| Geometry | |
![]() | graphicsTarget : Array
One or more display object's that this Geometry is to be drawn to.
| Geometry | |
![]() | graphicsTargetCollection : DisplayObjectCollection
Access to the Degrafa target collection object for this geometry object.
| Geometry | |
| gridFitType : String
gridFitType property for the textField.
| RasterText | ||
![]() | hasDecorators : Boolean
Returns true if this Geometry has decorators.
| Geometry | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | hasFilters : Boolean
Returns true if this Geometry has filters.
| Geometry | |
![]() | hasLayout : Boolean
Returns true if this Geometry has layout.
| Geometry | |
![]() | hasStates : Boolean
Returns true if this Geometry has states.
| Geometry | |
![]() | hasTriggers : Boolean
Returns true if this Geometry has triggers.
| Geometry | |
| height : Number
The height of the text element.
| RasterText | ||
![]() | horizontalCenter : Number
When set, if left or right is not set, the layout
will be centered horizontally offset by the numeric
value of this property.
| Geometry | |
| htmlText : String
htmlText property for the textField.
| RasterText | ||
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
| indent : Object | RasterText | ||
![]() | inheritFill : Boolean
If set to true and no fill is defined and there is a parent object
then this object will walk up through the parents to retrive a fill
object.
| Geometry | |
![]() | inheritStroke : Boolean
If set to true and no stroke is defined and there is a parent object
then this object will walk up through the parents to retrive a stroke
object.
| Geometry | |
![]() | invalidated : Boolean
Specifies whether this object is to be re calculated
on the next cycle.
| Geometry | |
![]() | isInitialized : Boolean | DegrafaObject | |
![]() | isInvalidated : Boolean
Returns true if this Geometry object is invalidated
| Geometry | |
![]() | isRootGeometry : Boolean
Returns true if this Geometry object is a root Geometry Object.
| Geometry | |
| italic : Boolean | RasterText | ||
| kerning : Boolean | RasterText | ||
![]() | layoutConstraint : LayoutConstraint
The layout constraint that is used for positioning/sizing this geometry object.
| Geometry | |
![]() | _layoutMatrix : Matrix
Access to the layout matrix if this Geometry has layout.
| Geometry | |
| layoutMode : String [read-only]
The layout mode associated with this RasterText.
| RasterText | ||
![]() | layoutRectangle : Rectangle
Returns the constraint based layout rectangle for this object
or bounds if no layout constraint is specified.
| Geometry | |
| leading : int | RasterText | ||
![]() | left : Number
When set, the left of the layout will be located
offset by the value of this property multiplied
by the containing width.
| Geometry | |
| leftMargin : Number | RasterText | ||
| length : int [read-only]
length property for the textField.
| RasterText | ||
| letterSpacing : Number | RasterText | ||
![]() | maintainAspectRatio : Boolean
When true, the size of the layout will always
maintain an aspect ratio relative to the ratio
of the current width and height properties, even
if those properties are not in control of the
height and width of the layout.
| Geometry | |
![]() | mask : IGeometryComposition
A separate geometry object to use as a mask when rendering this geometry.
| Geometry | |
![]() | maskMode : String
The mode used when this object is being masked by the geometry assigned to the mask property.
| Geometry | |
![]() | maxHeight : Number
The maximum height that can be applied
to the layout.
| Geometry | |
![]() | maxWidth : Number
The maximum width that can be applied
to the layout.
| Geometry | |
![]() | maxX : Number
The maximum x location that can be applied
to the layout.
| Geometry | |
![]() | maxY : Number
The maximum y location that can be applied
to the layout.
| Geometry | |
![]() | minHeight : Number
The minimum height that can be applied
to the layout.
| Geometry | |
![]() | minWidth : Number
The minimum width that can be applied
to the layout.
| Geometry | |
![]() | minX : Number
The minimum x location that can be applied
to the layout.
| Geometry | |
![]() | minY : Number
The minimum y location that can be applied
to the layout.
| Geometry | |
| multiline : Boolean
multiline property for the textField.
| RasterText | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
| numLines : int [read-only]
numLines property for the textField.
| RasterText | ||
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
![]() | percentHeight : Number
When set, the height of the layout will be
set as the value of this property multiplied
by the containing height.
| Geometry | |
![]() | percentWidth : Number
When set, the width of the layout will be
set as the value of this property multiplied
by the containing width.
| Geometry | |
![]() | right : Number
When set, the right of the layout will be located
offset by the value of this property multiplied
by the containing width.
| Geometry | |
| rightMargin : Number | RasterText | ||
| sharpness : Number
sharpness property for the textField.
| RasterText | ||
| size : Number | RasterText | ||
![]() | state : String
The state at which to draw this object.
| Geometry | |
![]() | stateEvent : String
The state event at which to draw this object.
| Geometry | |
![]() | states : Array
An array of states defined for this Geometry.
| Geometry | |
![]() | stroke : IGraphicsStroke
Defines the stroke object that will be used for
rendering this geometry object.
| Geometry | |
![]() | styleName : Object
The css style name associated with this Geometry.
| Geometry | |
| styleSheet : StyleSheet
styleSheet property for the textField.
| RasterText | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| tabStops : Array | RasterText | ||
![]() | targetCoordinateSpace : DisplayObject
The display object that defines the coordinate system to use.
| Geometry | |
| text : String
text property for the textField.
| RasterText | ||
| textColor : uint
textColor property for the textField.
| RasterText | ||
| textFormat : DegrafaTextFormat | RasterText | ||
| textWidth : Number [read-only]
textHeight property for the textField.
| RasterText | ||
| thickness : Number
thickness property for the textField.
| RasterText | ||
![]() | top : Number
When set, the top of the layout will be located
offset from the top of it's parent.
| Geometry | |
![]() | transform : ITransform
Defines the transform object that will be used for
rendering this geometry object.
| Geometry | |
| transformBeforeRender : Boolean [read-only]
A setting to determine at what point transforms are performed when capturing the bitmap representation of this object internally
before final rendering.
| RasterText | ||
![]() | transformBounds : Rectangle
Returns a transformed version of this objects bounds as
represented by a Rectangle.
| Geometry | |
![]() | transformContext : Matrix
A reference to the transformation matrix context within which local transforms will be applied.
| Geometry | |
![]() | triggers : Array
An array of ITrigger objects that this Geometry object will use.
| Geometry | |
| underline : Boolean | RasterText | ||
![]() | verticalCenter : Number
When set, if top or bottom is not set, the layout
will be centered vertically offset by the numeric
value of this property.
| Geometry | |
![]() | visible : Boolean
Controls the visibility of this geometry object.
| Geometry | |
| width : Number
The width of the text element.
| RasterText | ||
| wordWrap : Boolean
wordWrap property for the textField.
| RasterText | ||
| x : Number
The x-axis coordinate of the upper left point of the text element.
| RasterText | ||
| y : Number
The y-axis coordinate of the upper left point of the text element.
| RasterText | ||
| Property | Defined by | ||
|---|---|---|---|
| _embedded : Boolean | RasterText | ||
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
![]() | _fill : IGraphicsFill | Geometry | |
| internalbackground : Shape | RasterText | ||
| internalMaskee : Shape | RasterText | ||
| sprite : Sprite | RasterText | ||
![]() | _stroke : IGraphicsStroke | Geometry | |
| textField : TextField | RasterText | ||
| Method | Defined by | ||
|---|---|---|---|
|
The RasterText constructor has no arguments . | RasterText | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
![]() |
angleAt(t:Number):Number
Returns the angle of a point t(0-1) on the path.
| Geometry | |
|
calculateLayout(childBounds:Rectangle = null):void
Performs the specific layout work required by this Geometry.
| RasterText | ||
![]() |
clearGraphicsTargets():void
Clears all graphics targets specified in the graphicsTarget array.
| Geometry | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
| DegrafaObject | |
|
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for geometry/IDisplayObjectProxy objects.
| RasterText | ||
![]() |
drawToTargets():void
Requests a draw for each graphics target specified in the graphicsTarget array.
| Geometry | |
![]() |
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
| Geometry | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
|
initFill(graphics:Graphics, rc:Rectangle):void
Initialise the fill for RasterText.
| RasterText | ||
![]() |
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
| DegrafaObject | |
|
initStroke(graphics:Graphics, rc:Rectangle):void
Initialise the stroke/border for this RasterText object.
| RasterText | ||
![]() |
pointAt(t:Number):Point
Returns the point at t(0-1) on this object.
| Geometry | |
|
preDraw():void
Performs any pre calculation that is required to successfully render
this element.
| RasterText | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
styleChanged(styleProp:String):void
Called when the value of a style property is changed.
| Geometry | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
|
propertyChangeHandler(event:PropertyChangeEvent):void
| RasterText | ||
| Constant | Defined by | ||
|---|---|---|---|
| ADJUST : String = "adjust" [static]
| RasterText | ||
| SCALE : String = "scale" [static]
| RasterText | ||
| accessibilityProperties | property |
accessibilityProperties:AccessibilityProperties [read-write]accessibilityProperties property for the textField.
This property can be used as the source for data binding.
Implementation public function get accessibilityProperties():AccessibilityProperties
public function set accessibilityProperties(value:AccessibilityProperties):void
See also
| align | property |
align:String [read-write]This property can be used as the source for data binding.
Implementation public function get align():String
public function set align(value:String):void
| alpha | property |
alpha:Number [read-write]alpha property for the textField.
This property can be used as the source for data binding.
Implementation public function get alpha():Number
public function set alpha(value:Number):void
See also
| antiAliasType | property |
antiAliasType:String [read-write]antiAliasType property for the textField.
This property can be used as the source for data binding.
Implementation public function get antiAliasType():String
public function set antiAliasType(value:String):void
See also
| autoSize | property |
autoSize:String [read-write]autoSize property for the textField.
This property can be used as the source for data binding.
Implementation public function get autoSize():String
public function set autoSize(value:String):void
See also
| autoSizeField | property |
autoSizeField:Boolean [read-write]Autosize the text field to text size. Default value is false. When set to true the TextField object will size to fit the height and width of the text. If layout is active on this object and its layoutMode is set to "adjust", then this setting will be overridden by the layout constraints. If layoutMode is set to "scale" then layout scaling will be applied after the textfield has been autosized to its contents (not yet available, planned for future release)
This property can be used as the source for data binding.
Implementation public function get autoSizeField():Boolean
public function set autoSizeField(value:Boolean):void
| availableEmbeddedFonts | property |
availableEmbeddedFonts:Array [read-only]Utility function for checking fonts
This property can be used as the source for data binding.
Implementation public static function get availableEmbeddedFonts():Array
| background | property |
background:Boolean [read-write]background property for the textField. Activates the backgroundFill.
This property can be used as the source for data binding.
Implementation public function get background():Boolean
public function set background(value:Boolean):void
See also
| backgroundColor | property |
backgroundColor:Object [read-write]Similar to backgroundColor property for the textField. A shortcut setting for backgroundFill's color property. If used, and a non-SolidFill (e.g gradientFill) is currently being used as a backgroundFill, then this will force creation of a new SolidFill in its place.
This property can be used as the source for data binding.
Implementation public function get backgroundColor():Object
public function set backgroundColor(value:Object):void
See also
| backgroundFill | property |
backgroundFill:IGraphicsFill [read-write]A Degrafa Fill used in the background of this RasterText area.
This property can be used as the source for data binding.
Implementation public function get backgroundFill():IGraphicsFill
public function set backgroundFill(value:IGraphicsFill):void
| blockIndent | property |
blockIndent:Object [read-write]This property can be used as the source for data binding.
Implementation public function get blockIndent():Object
public function set blockIndent(value:Object):void
| bold | property |
bold:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get bold():Boolean
public function set bold(value:Boolean):void
| border | property |
border:Boolean [read-write]border property for the textField.
This property can be used as the source for data binding.
Implementation public function get border():Boolean
public function set border(value:Boolean):void
See also
| borderColor | property |
borderColor:Object [read-write]borderColor property for the textField. This property has additional support for extended Degrafa color specifications, for example "red" as a color key.
This property can be used as the source for data binding.
Implementation public function get borderColor():Object
public function set borderColor(value:Object):void
See also
| bounds | property |
bounds:Rectangle [read-only]The tight bounds of this element as represented by a Rectangle object.
This property can be used as the source for data binding.
Implementation public function get bounds():Rectangle
| bullet | property |
bullet:Object [read-write]This property can be used as the source for data binding.
Implementation public function get bullet():Object
public function set bullet(value:Object):void
| condenseWhite | property |
condenseWhite:Boolean [read-write]condenseWhite property for the textField.
This property can be used as the source for data binding.
Implementation public function get condenseWhite():Boolean
public function set condenseWhite(value:Boolean):void
See also
| _embedded | property |
protected var _embedded:Boolean
| embedFonts | property |
embedFonts:Boolean [read-write]embedFonts property for the textField. setting the fontFamily can also change this setting in RasterText.
This property can be used as the source for data binding.
Implementation public function get embedFonts():Boolean
public function set embedFonts(value:Boolean):void
See also
| fill | property |
fill:IGraphicsFill [read-write]This property can be used as the source for data binding.
Implementation public function get fill():IGraphicsFill
public function set fill(value:IGraphicsFill):void
| fontFamily | property |
fontFamily:String [read-write]This property can be used as the source for data binding.
Implementation public function get fontFamily():String
public function set fontFamily(value:String):void
| fontSize | property |
fontSize:Number [read-write]This property can be used as the source for data binding.
Implementation public function get fontSize():Number
public function set fontSize(value:Number):void
| fontWeight | property |
fontWeight:String [read-write]This property can be used as the source for data binding.
Implementation public function get fontWeight():String
public function set fontWeight(value:String):void
| gridFitType | property |
gridFitType:String [read-write]gridFitType property for the textField.
This property can be used as the source for data binding.
Implementation public function get gridFitType():String
public function set gridFitType(value:String):void
See also
| height | property |
height:Number [read-write]The height of the text element. This may change depending on autoSizeField settings (true) and/or layoutMode settings (adjust).
This property can be used as the source for data binding.
Implementation public function get height():Number
public function set height(value:Number):void
| htmlText | property |
htmlText:String [read-write]htmlText property for the textField.
This property can be used as the source for data binding.
Implementation public function get htmlText():String
public function set htmlText(value:String):void
See also
| indent | property |
indent:Object [read-write]This property can be used as the source for data binding.
Implementation public function get indent():Object
public function set indent(value:Object):void
| internalbackground | property |
protected var internalbackground:Shape
| internalMaskee | property |
protected var internalMaskee:Shape
| italic | property |
italic:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get italic():Boolean
public function set italic(value:Boolean):void
| kerning | property |
kerning:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get kerning():Boolean
public function set kerning(value:Boolean):void
| layoutMode | property |
layoutMode:String [read-only]The layout mode associated with this RasterText. Currently fixed at 'adjust' which means that layout adjusts the size of the text field instead of scaling it. A 'scale' option will be available in a future release.
This property can be used as the source for data binding.
Implementation public function get layoutMode():String
| leading | property |
leading:int [read-write]This property can be used as the source for data binding.
Implementation public function get leading():int
public function set leading(value:int):void
| leftMargin | property |
leftMargin:Number [read-write]This property can be used as the source for data binding.
Implementation public function get leftMargin():Number
public function set leftMargin(value:Number):void
| length | property |
length:int [read-only]length property for the textField.
This property can be used as the source for data binding.
Implementation public function get length():int
See also
| letterSpacing | property |
letterSpacing:Number [read-write]This property can be used as the source for data binding.
Implementation public function get letterSpacing():Number
public function set letterSpacing(value:Number):void
| multiline | property |
multiline:Boolean [read-write]multiline property for the textField.
This property can be used as the source for data binding.
Implementation public function get multiline():Boolean
public function set multiline(value:Boolean):void
See also
| numLines | property |
numLines:int [read-only]numLines property for the textField.
This property can be used as the source for data binding.
Implementation public function get numLines():int
See also
| rightMargin | property |
rightMargin:Number [read-write]This property can be used as the source for data binding.
Implementation public function get rightMargin():Number
public function set rightMargin(value:Number):void
| sharpness | property |
sharpness:Number [read-write]sharpness property for the textField.
This property can be used as the source for data binding.
Implementation public function get sharpness():Number
public function set sharpness(value:Number):void
See also
| size | property |
size:Number [read-write]This property can be used as the source for data binding.
Implementation public function get size():Number
public function set size(value:Number):void
| sprite | property |
protected var sprite:Sprite
| styleSheet | property |
styleSheet:StyleSheet [read-write]styleSheet property for the textField.
This property can be used as the source for data binding.
Implementation public function get styleSheet():StyleSheet
public function set styleSheet(value:StyleSheet):void
See also
| tabStops | property |
tabStops:Array [read-write]This property can be used as the source for data binding.
Implementation public function get tabStops():Array
public function set tabStops(value:Array):void
| text | property |
text:String [read-write]text property for the textField.
This property can be used as the source for data binding.
Implementation public function get text():String
public function set text(value:String):void
See also
| textColor | property |
textColor:uint [read-write]textColor property for the textField.
This property can be used as the source for data binding.
Implementation public function get textColor():uint
public function set textColor(value:uint):void
See also
| textField | property |
protected var textField:TextField
| textFormat | property |
textFormat:DegrafaTextFormat [read-write]This property can be used as the source for data binding.
Implementation public function get textFormat():DegrafaTextFormat
public function set textFormat(value:DegrafaTextFormat):void
| textWidth | property |
textWidth:Number [read-only]textHeight property for the textField.
This property can be used as the source for data binding.
Implementation public function get textWidth():Number
See also
| thickness | property |
thickness:Number [read-write]thickness property for the textField.
This property can be used as the source for data binding.
Implementation public function get thickness():Number
public function set thickness(value:Number):void
See also
| transformBeforeRender | property |
transformBeforeRender:Boolean [read-only]A setting to determine at what point transforms are performed when capturing the bitmap representation of this object internally before final rendering. This is currently fixed as false for RasterText. A true option may be made available in a future release.
This property can be used as the source for data binding.
Implementation public function get transformBeforeRender():Boolean
| underline | property |
underline:Boolean [read-write]This property can be used as the source for data binding.
Implementation public function get underline():Boolean
public function set underline(value:Boolean):void
| width | property |
width:Number [read-write]The width of the text element. This may change depending on autoSizeField settings (true) and/or layoutMode settings (adjust).
This property can be used as the source for data binding.
Implementation public function get width():Number
public function set width(value:Number):void
| wordWrap | property |
wordWrap:Boolean [read-write]wordWrap property for the textField.
This property can be used as the source for data binding.
Implementation public function get wordWrap():Boolean
public function set wordWrap(value:Boolean):void
See also
| x | property |
x:Number [read-write]The x-axis coordinate of the upper left point of the text element. If not specified a default value of 0 is used.
This property can be used as the source for data binding.
Implementation public function get x():Number
public function set x(value:Number):void
| y | property |
y:Number [read-write]The y-axis coordinate of the upper left point of the text element. If not specified a default value of 0 is used.
This property can be used as the source for data binding.
Implementation public function get y():Number
public function set y(value:Number):void
| RasterText | () | constructor |
public function RasterText()
The RasterText constructor has no arguments . RasterText does not inherit stroke or fill by default unlike other Geometry items.
| calculateLayout | () | method |
public override function calculateLayout(childBounds:Rectangle = null):voidPerforms the specific layout work required by this Geometry.
ParameterschildBounds:Rectangle (default = null) — the bounds to be layed out. If not specified a rectangle
of (0,0,1,1) is used or the most appropriate size is calculated.
|
| draw | () | method |
public override function draw(graphics:Graphics, rc:Rectangle):voidBegins the draw phase for geometry/IDisplayObjectProxy objects. All geometry objects override this to do their specific rendering.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for fill bounds.
|
| initFill | () | method |
public override function initFill(graphics:Graphics, rc:Rectangle):voidInitialise the fill for RasterText. This overrides Geometry to implement a specific combination for RasterText.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for fill bounds.
|
| initStroke | () | method |
public override function initStroke(graphics:Graphics, rc:Rectangle):voidInitialise the stroke/border for this RasterText object. Typically only called by draw. RasterText only has a visible border stroke if the border property is set to true.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for fill bounds.
|
| preDraw | () | method |
public override function preDraw():voidPerforms any pre calculation that is required to successfully render this element. Including bounds calculations and lower level drawing command storage. Each geometry object overrides this and is responsible for it's own pre calculation cycle.
| propertyChangeHandler | () | method |
protected override function propertyChangeHandler(event:PropertyChangeEvent):voidParameters
event:PropertyChangeEvent |
| ADJUST | constant |
public static const ADJUST:String = "adjust"
| SCALE | constant |
public static const SCALE:String = "scale"