Packagegraphics
Classpublic class Corner
InheritanceCorner Inheritance Object
Implements Cloneable, Equatable, Serializable

Determinates the corner definition.This object is use to set for example the CornerRectanglePen implementation (Bevel, RoundedComplex, etc.)



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
  
clone():*
Creates and returns a shallow copy of the object.
Corner
  
equals(o:*):Boolean
Compares the specified object with this object for equality.
Corner
  
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
clone()method
public function clone():*

Creates and returns a shallow copy of the object.

Returns
* — A new object that is a shallow copy of this instance.
equals()method 
public function equals(o:*):Boolean

Compares the specified object with this object for equality.

Parameters

o:*

Returns
Booleantrue if the the specified object is equal with this object.
toSource()method 
public 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 function toString():String

Returns the string representation of this object.

Returns
String — the string representation of this object.