Packagegraphics.drawing
Classpublic dynamic class BevelRectanglePen
InheritanceBevelRectanglePen Inheritance CornerRectanglePen Inheritance RectanglePen Inheritance Pen Inheritance flash.utils.Proxy

Draws a bevel rectangle.



Public Properties
 PropertyDefined By
 Inheritedalign : uint
Determinates the align value of the pen.
Pen
 Inheritedcorner : Corner
Determinates the Corner value of this pen.
CornerRectanglePen
 Inheritedfill : IFillStyle
Determinates the fill style object of the pen.
Pen
 Inheritedgraphics : *
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.
Pen
  hBevel : Number
Determinates the hBevel value who defined the horizontal bevel level of all corners in this BevelRectangle pen.
BevelRectanglePen
 Inheritedheight : Number
Defines the height of the shape rectangle.
RectanglePen
 Inheritedline : ILineStyle
Determinates the line style object of the pen.
Pen
 Inheritedrectangle : Rectangle
[read-only] Returns the Rectangle reference of this pen.
RectanglePen
 InheriteduseClear : Boolean = true
Indicates if the clear() method is invoked at the end of the draw method.
Pen
 InheriteduseEndFill : Boolean = true
Indicates if the endFill() method is invoked at the end of the draw method.
Pen
  vBevel : Number
Determinates the vBevel value who defined the vertical bevel level of all corners in this BevelRectangle pen.
BevelRectanglePen
 Inheritedwidth : Number
Defines the width of the shape rectangle.
RectanglePen
 Inheritedx : Number
Defines the x position of the shape rectangle.
RectanglePen
 Inheritedy : Number
Defines the y position of the shape rectangle.
RectanglePen
Public Methods
 MethodDefined By
  
BevelRectanglePen(graphic:*, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, hBevel:Number = 0, vBevel:Number = 0, align:uint = 10)
Creates a new BevelRectanglePen instance.
BevelRectanglePen
 Inherited
BF(... arguments):void
Defines a shortcut reference to used the beginBitmapFill method.
Pen
 Inherited
C(... arguments):void
Defines a shortcut reference to used the curveTo method.
Pen
 Inherited
CL():void
Defines a shortcut reference to used the clear method.
Pen
 Inherited
draw(... args):void
[override] Draws the shape.
RectanglePen
  
drawShape():void
[override] This method contains the basic drawing shape algorithm.
BevelRectanglePen
 Inherited
EF():void
Defines a shortcut reference to used the endFill method.
Pen
 Inherited
F(... arguments):void
Defines a shortcut reference to used the beginFill method.
Pen
 Inherited
GF(... arguments):void
Defines a shortcut reference to used the beginGradientFill method.
Pen
 Inherited
GS(... arguments):void
Defines a shortcut reference to used the lineGradientStyle method.
Pen
 Inherited
L(... arguments):void
Defines a shortcut reference to used the lineTo method.
Pen
 Inherited
M(... arguments):void
Defines a shortcut reference to used the moveTo method.
Pen
 Inherited
S(... arguments):void
Defines a shortcut reference to used the lineStyle method.
Pen
  
setPen(... args):void
[override] Sets the arc options to defined all values to draw the arc shape in the movieclip reference of this pen.
BevelRectanglePen
Protected Methods
 MethodDefined By
 Inherited
Invoked to refresh the offset x and y position defines by the align property.
RectanglePen
Property Detail
hBevelproperty
hBevel:Number

Determinates the hBevel value who defined the horizontal bevel level of all corners in this BevelRectangle pen.


Implementation
    public function get hBevel():Number
    public function set hBevel(value:Number):void
vBevelproperty 
vBevel:Number

Determinates the vBevel value who defined the vertical bevel level of all corners in this BevelRectangle pen.


Implementation
    public function get vBevel():Number
    public function set vBevel(value:Number):void
Constructor Detail
BevelRectanglePen()Constructor
public function BevelRectanglePen(graphic:*, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, hBevel:Number = 0, vBevel:Number = 0, align:uint = 10)

Creates a new BevelRectanglePen instance.

Parameters
graphic:* — The Graphics reference to control with this helper. You can passed-in a Shape or Sprite/MovieClip reference in argument.
 
x:Number (default = 0) — (optional) The x position of the pen.
 
y:Number (default = 0) — (optional) The y position of the pen.
 
width:Number (default = 0) — (optional) The width of the pen.
 
height:Number (default = 0) — (optional) The height of the pen.
 
hBevel:Number (default = 0) — (optional) The hBevel value who defined the horizontal bevel level of all corners in this BevelRectangle pen.
 
vBevel:Number (default = 0) — (optional) The vBevel value who defined the vertical bevel level of all corners in this BevelRectangle pen.
 
align:uint (default = 10) — (optional) The align value of the pen.
Method Detail
drawShape()method
override public function drawShape():void

This method contains the basic drawing shape algorithm.

setPen()method 
override public function setPen(... args):void

Sets the arc options to defined all values to draw the arc shape in the movieclip reference of this pen.

Parameters

... args — (optional) The x position of the pen.