Packageorg.apache.flex.core
Classpublic class CSSShape
InheritanceCSSShape Inheritance flash.display.Shape
Implements IStyleableObject, IChild

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The Border class is a class used internally by many controls to draw a border. The border actually drawn is dictated by the IBeadView in the CSS.



Public Properties
 PropertyDefined By
  className : String
The classname.
CSSShape
  id : String
An id property for MXML documents.
CSSShape
  state : String
CSSShape
  style : Object
The object that contains "styles" and other associated name-value pairs.
CSSShape
Public Methods
 MethodDefined By
  
Constructor.
CSSShape
  
draw(w:Number, h:Number):void
Draw the contents based on styles
CSSShape
Property Detail
classNameproperty
className:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The classname. Often used for CSS class selector lookups.


Implementation
    public function get className():String
    public function set className(value:String):void
idproperty 
id:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

An id property for MXML documents.


Implementation
    public function get id():String
    public function set id(value:String):void
stateproperty 
public var state:String

styleproperty 
style:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The object that contains "styles" and other associated name-value pairs. You can also specify a string in HTML style attribute format.


Implementation
    public function get style():Object
    public function set style(value:Object):void
Constructor Detail
CSSShape()Constructor
public function CSSShape()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
draw()method
public function draw(w:Number, h:Number):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Draw the contents based on styles

Parameters

w:Number — The width.
 
h:Number — The height.