Packagecom.addicted2flash.layout.constraint
Classpublic final class CanvasLayoutConstraint

Contraint for components added to a Canvas.



Public Properties
 PropertyDefined by
  bottom : Number
Distance to the bottom.
CanvasLayoutConstraint
  left : Number
Distance to the left.
CanvasLayoutConstraint
  right : Number
Distance to the right.
CanvasLayoutConstraint
  top : Number
Distance to the top.
CanvasLayoutConstraint
Public Methods
 MethodDefined by
  
CanvasLayoutConstraint(top:Number, right:Number, bottom:Number, left:Number)
Creates a new CanvasLayoutConstraint.
CanvasLayoutConstraint
  
toString():String
Returns the string representation of the CanvasLayoutConstraint.
CanvasLayoutConstraint
Property detail
bottomproperty
public var bottom:Number

Distance to the bottom.

leftproperty 
public var left:Number

Distance to the left.

rightproperty 
public var right:Number

Distance to the right.

topproperty 
public var top:Number

Distance to the top.

Constructor detail
CanvasLayoutConstraint()constructor
public function CanvasLayoutConstraint(top:Number, right:Number, bottom:Number, left:Number)

Creates a new CanvasLayoutConstraint.

Parameters
top:Number — distance to the top
 
right:Number — distance to the right
 
bottom:Number — distance to the bottom
 
left:Number — distance to the left
Method detail
toString()method
public function toString():String

Returns the string representation of the CanvasLayoutConstraint.

Returns
String — the string representation of the CanvasLayoutConstraint