Packageorg.flintparticles.common.displayObjects
Classpublic class Star
InheritanceStar Inheritance flash.display.Shape

The Star class is a DisplayObject that is the shape of a five point star. The registration point of this display object is in the middle of the star.



Public Properties
 PropertyDefined By
  color : uint
Star
  radius : Number
Star
Public Methods
 MethodDefined By
  
Star(radius:Number, color:uint = 0xFFFFFF, bm:String = normal)
The constructor creates a Star with the specified radius.
Star
Property Detail
colorproperty
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
radiusproperty 
radius:Number


Implementation
    public function get radius():Number
    public function set radius(value:Number):void
Constructor Detail
Star()Constructor
public function Star(radius:Number, color:uint = 0xFFFFFF, bm:String = normal)

The constructor creates a Star with the specified radius.

Parameters
radius:Number — The radius, in pixels, of the Star.
 
color:uint (default = 0xFFFFFF) — The color of the Star
 
bm:String (default = normal) — The blendMode for the Star