Packagepegas.draw
Classpublic class Corner
InheritanceCorner Inheritance CoreObject

Determinates the corner parameters in a CornerRectanglePen (Bevel, Rounded...)



Public Properties
 PropertyDefined by
  bl : Boolean = true
The bottom left flag value.
Corner
  br : Boolean = true
The bottom right flag value.
Corner
  tl : Boolean = true
The top left flag value.
Corner
  tr : Boolean = true
The top right flag value.
Corner
Public Methods
 MethodDefined by
  
Corner(tl:Boolean = true, tr:Boolean = true, br:Boolean = true, bl:Boolean = true)
Creates a new Corner instance.
Corner
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
  
toSource(indent:int = 0):String
Returns a Eden representation of the object.
Corner
  
toString():String
Returns the string representation of this object.
Corner
Property detail
blproperty
public var bl:Boolean = true

The bottom left flag value.

brproperty 
public var br:Boolean = true

The bottom right flag value.

tlproperty 
public var tl:Boolean = true

The top left flag value.

trproperty 
public var tr:Boolean = true

The top right flag value.

Constructor detail
Corner()constructor
public function Corner(tl:Boolean = true, tr:Boolean = true, br:Boolean = true, bl:Boolean = true)

Creates a new Corner instance.

Parameters
tl:Boolean (default = true) — The bottom left flag value.
 
tr:Boolean (default = true) — The bottom right flag value.
 
br:Boolean (default = true) — The bottom right flag value.
 
bl:Boolean (default = true) — The bottom left flag value.
Method detail
toSource()method
public override function toSource(indent:int = 0):String

Returns a Eden representation of the object.

Parameters
indent:int (default = 0)

Returns
String — a string representation the source code of the object.
toString()method 
public override function toString():String

Returns the string representation of this object.

Returns
String — the string representation of this object.