Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ICardProperties interface is used to abstract card functionality required by the Freeform navigator.
targetSize:Point
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The width and height of the target
Implementation public function get targetSize():Point
public function getLocation(attachment:IAttachment):Point
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Get the card layout location for the specified attachment.
Parameters
| attachment:IAttachment — The IAttachment for which you want to find
the layout location
|
Returns | Point — The layout location of the center of the card
given as an ordered pair: (x,y)
|
public function isLocationSet(attachment:IAttachment):Boolean
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Indicates whether the location of
the card for the specified IAttachment has been set or not.
Parameters
| attachment:IAttachment — The IAttachment for which you want to know
if a location has been set for its card.
|
Returns | Boolean — true if the location of the card for the
specified IAttachment has been set; returns false
if it has not been set.
|
public function setLocation(attachment:IAttachment, value:Point):void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Sets the card layout location for the specified attachment.
Parameters
| attachment:IAttachment — The IAttachment for which you want to set
the layout location
|
|
| value:Point — The layout location of the center of the card
given as an ordered pair: (x,y)
|
public function setRotation(attachment:IAttachment, value:Number):void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Sets the rotation of the card layout
for the specified attachment
Parameters
| attachment:IAttachment — The IAttachment for which you want to set
the rotation of its card layout
|
|
| value:Number — The rotation of the card layout in degrees
of rotation from the horizontal
|
Mon Apr 25 2011, 05:54 PM -07:00