Packagestimulsoft.base.drawing
Classpublic class StiBorder
InheritanceStiBorder Inheritance StiObject Inheritance Object
Implements IStiSerializableToProperty, IStiDefault
Subclasses StiAdvancedBorder



Public Properties
 PropertyDefined By
  color : StiColor
Gets or sets a border color.
StiBorder
  dropShadow : Boolean
Gets or sets value which indicates drop shadow or not.
StiBorder
  isAllBorderSidesPresent : Boolean
[read-only]
StiBorder
  isBottomBorderSidePresent : Boolean
[read-only]
StiBorder
  isDefault : Boolean
[read-only]
StiBorder
  isLeftBorderSidePresent : Boolean
[read-only]
StiBorder
  isRightBorderSidePresent : Boolean
[read-only]
StiBorder
  isTopBorderSidePresent : Boolean
[read-only]
StiBorder
  shadowBrush : StiBrush
Gets or sets the border shadow brush.
StiBorder
  shadowSize : Number
Gets or sets Shadow Size.
StiBorder
  side : int
Gets or sets frame borders.
StiBorder
  size : Number
Gets or sets a border size.
StiBorder
  style : int
Gets or sets a border style.
StiBorder
  topmost : Boolean
Gets or sets value which indicates that border sides will be drawn on top of all components.
StiBorder
Public Methods
 MethodDefined By
  
StiBorder(side:int = 0, color:StiColor = null, size:Number = 1, style:int = 0, dropShadow:Boolean = false, shadowSize:Number = 4, shadowBrush:StiBrush = null, topmost:Boolean = false)
StiBorder
  
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiBorder
  
deserialize(value:String):void
StiBorder
  
draw(g:StiGraphics, rect:StiRectangle, zoom:Number, emptyColor:StiColor = null):void
Draws this border on the indicated Graphics.
StiBorder
  
equals(object:Object):Boolean
[override]
StiBorder
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override] Creates a shallow copy of the current Collection.
StiBorder
  
serialize():String
StiBorder
Property Detail
colorproperty
color:StiColor

Gets or sets a border color.


Implementation
    public function get color():StiColor
    public function set color(value:StiColor):void
dropShadowproperty 
dropShadow:Boolean

Gets or sets value which indicates drop shadow or not.


Implementation
    public function get dropShadow():Boolean
    public function set dropShadow(value:Boolean):void
isAllBorderSidesPresentproperty 
isAllBorderSidesPresent:Boolean  [read-only]


Implementation
    public function get isAllBorderSidesPresent():Boolean
isBottomBorderSidePresentproperty 
isBottomBorderSidePresent:Boolean  [read-only]


Implementation
    public function get isBottomBorderSidePresent():Boolean
isDefaultproperty 
isDefault:Boolean  [read-only]


Implementation
    public function get isDefault():Boolean
isLeftBorderSidePresentproperty 
isLeftBorderSidePresent:Boolean  [read-only]


Implementation
    public function get isLeftBorderSidePresent():Boolean
isRightBorderSidePresentproperty 
isRightBorderSidePresent:Boolean  [read-only]


Implementation
    public function get isRightBorderSidePresent():Boolean
isTopBorderSidePresentproperty 
isTopBorderSidePresent:Boolean  [read-only]


Implementation
    public function get isTopBorderSidePresent():Boolean
shadowBrushproperty 
shadowBrush:StiBrush

Gets or sets the border shadow brush.


Implementation
    public function get shadowBrush():StiBrush
    public function set shadowBrush(value:StiBrush):void
shadowSizeproperty 
shadowSize:Number

Gets or sets Shadow Size.


Implementation
    public function get shadowSize():Number
    public function set shadowSize(value:Number):void
sideproperty 
side:int

Gets or sets frame borders.


Implementation
    public function get side():int
    public function set side(value:int):void
sizeproperty 
size:Number

Gets or sets a border size.


Implementation
    public function get size():Number
    public function set size(value:Number):void
styleproperty 
style:int

Gets or sets a border style.


Implementation
    public function get style():int
    public function set style(value:int):void
topmostproperty 
topmost:Boolean

Gets or sets value which indicates that border sides will be drawn on top of all components.


Implementation
    public function get topmost():Boolean
    public function set topmost(value:Boolean):void
Constructor Detail
StiBorder()Constructor
public function StiBorder(side:int = 0, color:StiColor = null, size:Number = 1, style:int = 0, dropShadow:Boolean = false, shadowSize:Number = 4, shadowBrush:StiBrush = null, topmost:Boolean = false)



Parameters
side:int (default = 0)
 
color:StiColor (default = null)
 
size:Number (default = 1)
 
style:int (default = 0)
 
dropShadow:Boolean (default = false)
 
shadowSize:Number (default = 4)
 
shadowBrush:StiBrush (default = null)
 
topmost:Boolean (default = false)
Method Detail
clone()method
override public function clone(... args):Object

Creates a new object that is a copy of the current instance.

Parameters

... args

Returns
Object
deserialize()method 
public function deserialize(value:String):void

Parameters

value:String

draw()method 
public function draw(g:StiGraphics, rect:StiRectangle, zoom:Number, emptyColor:StiColor = null):void

Draws this border on the indicated Graphics.

Parameters

g:StiGraphics
 
rect:StiRectangle
 
zoom:Number
 
emptyColor:StiColor (default = null)

equals()method 
override public function equals(object:Object):Boolean

Parameters

object:Object

Returns
Boolean
memberwiseClone()method 
override public function memberwiseClone():Object

Creates a shallow copy of the current Collection.

Returns
Object
serialize()method 
public function serialize():String

Returns
String