Packagecom.adobe.csxs.types
Classpublic class WindowGeometry

Stores the dimensions of the window in which the extension is loaded.



Public Properties
 PropertyDefined by
  height : uint
Retrieves the height of window in pixels.
WindowGeometry
  topleftx : int
Retrieves the top left X position of the window.
WindowGeometry
  toplefty : int
Retrieves the top left Y position of the window.
WindowGeometry
  width : uint
Retrieves the width of window in pixels.
WindowGeometry
Public Methods
 MethodDefined by
  
WindowGeometry(topleftx:int = 0, toplefty:int = 0, width:uint = 0, height:uint = 0)
Creates the geometry object.
WindowGeometry
  
clone():Object
Duplicates this object.
WindowGeometry
  
toString():String
Creates a string that contains all the properties of this object.
WindowGeometry
Property detail
heightproperty
height:uint  [read-write]

Retrieves the height of window in pixels.

This property can be used as the source for data binding.

Implementation
    public function get height():uint
    public function set height(value:uint):void
topleftxproperty 
topleftx:int  [read-write]

Retrieves the top left X position of the window.

This property can be used as the source for data binding.

Implementation
    public function get topleftx():int
    public function set topleftx(value:int):void
topleftyproperty 
toplefty:int  [read-write]

Retrieves the top left Y position of the window.

This property can be used as the source for data binding.

Implementation
    public function get toplefty():int
    public function set toplefty(value:int):void
widthproperty 
width:uint  [read-write]

Retrieves the width of window in pixels.

This property can be used as the source for data binding.

Implementation
    public function get width():uint
    public function set width(value:uint):void
Constructor detail
WindowGeometry()constructor
public function WindowGeometry(topleftx:int = 0, toplefty:int = 0, width:uint = 0, height:uint = 0)

Creates the geometry object.

Parameters
topleftx:int (default = 0) — The top-left corner X coordinate.
 
toplefty:int (default = 0) — The top-left corner Y coordinate.
 
width:uint (default = 0) — The width in pixels.
 
height:uint (default = 0) — The height in pixels.
Method detail
clone()method
public function clone():Object

Duplicates this object.

Returns
Object — The new object.
toString()method 
public function toString():String

Creates a string that contains all the properties of this object.

Returns
String — The properties string.