Packageorg.flashapi.swing.plaf.core
Classpublic class LafDTOCornerUtil
InheritanceLafDTOCornerUtil Inheritance Object

Language Version : ActionScript 3.0
Product Version : SPAS 3.0
Runtime Versions : AIR 1.0, Flash Player Player - 9

The LafDTOCornerUtil class creates convenient objects that deals with corner radiuses computations within a Look And Feel class.

See also

org.flashapi.swing.plaf.core.LafDTO
org.flashapi.swing.core.UIObject.cornerRadius
org.flashapi.swing.core.UIObject.bottomLeft
org.flashapi.swing.core.UIObject.bottomRight
org.flashapi.swing.core.UIObject.topRight
org.flashapi.swing.core.UIObject.topLeft


Public Properties
 PropertyDefined By
  bottomLeft : Number
The calculated bottom-left-hand corner radius.
LafDTOCornerUtil
  bottomRight : Number
The calculated bottom-right-hand corner radius.
LafDTOCornerUtil
  defaultRadius : Number
[read-only] Returns the default value for all computed radiuses.
LafDTOCornerUtil
  topLeft : Number
The calculated top-left-hand corner radius.
LafDTOCornerUtil
  topRight : Number
The calculated top-right-hand corner radius.
LafDTOCornerUtil
Public Methods
 MethodDefined By
  
LafDTOCornerUtil(dto:LafDTO, defaultRadius:Number = 0)
Constructor.
LafDTOCornerUtil
Property Detail
bottomLeftproperty
public var bottomLeft:Number

The calculated bottom-left-hand corner radius.

The default value is null.

bottomRightproperty 
public var bottomRight:Number

The calculated bottom-right-hand corner radius.

The default value is null.

defaultRadiusproperty 
defaultRadius:Number  [read-only]

Returns the default value for all computed radiuses.

The default value is 0.


Implementation
    public function get defaultRadius():Number
topLeftproperty 
public var topLeft:Number

The calculated top-left-hand corner radius.

The default value is null.

topRightproperty 
public var topRight:Number

The calculated top-right-hand corner radius.

The default value is null.

Constructor Detail
LafDTOCornerUtil()Constructor
public function LafDTOCornerUtil(dto:LafDTO, defaultRadius:Number = 0)

Constructor. Creates a new LafDTOCornerUtil instance.

Parameters
dto:LafDTO — The LafDTO object for which to calculate radiuses.
 
defaultRadius:Number (default = 0) — The default value for all computed radiuses.