Class: Corner

graphics. Corner


new Corner()

Determinates the corner settings to set a rectangular shape or a component.

Determinates the corner settings to set a rectangular shape or a component, like rectangles, rounded rectangle, etc.

Example
var corner = new Corner(true,true,false,false) ;trace( corner ) ;

Members


bl :boolean

The bottom left flag value.

Type:
  • boolean
Default Value:
  • true

br :boolean

The bottom right flag value.

Type:
  • boolean
Default Value:
  • true

tl :boolean

The top left flag value.

Type:
  • boolean
Default Value:
  • true

tr :boolean

The top right flag value.

Type:
  • boolean
Default Value:
  • true

Methods


clone()

Creates and returns a shallow copy of the object.

Returns:

A new object that is a shallow copy of this instance.


equals(o)

Compares the specified object with this object for equality.

Parameters:
Name Type Description
o object

The object to evaluates.

Returns:

true if the the specified object is equal with this object.


toString()

Returns the String representation of the object.

Returns:

the String representation of the object.