| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
ICardProperties is an interface that must be implemented by Layouts
that want to support layouts with ISimpleCards.
targetSize:Point [read-only]
| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Get 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 upper left corner 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 |
A Boolean that 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 upper left corner 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 (counterclockwise) 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 the counterclockwise rotation from the horizontal
|
Mon Oct 11 2010, 01:58 PM -07:00