Paket | mx.graphics |
Gränssnitt | public interface IStroke |
Implementorer | GradientStroke, SolidColorStroke |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
joints : String [skrivskyddad]
Specifies the appearance of line intersections used at angles. | IStroke | ||
miterLimit : Number [skrivskyddad]
Indicates the limit at which a miter is cut off. | IStroke | ||
scaleMode : String [skrivskyddad]
A value from the LineScaleMode class
that specifies which scale mode to use. | IStroke | ||
weight : Number
The line weight, in pixels. | IStroke |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Applies the properties to the specified Graphics object. | IStroke | ||
Generates a GraphicsStroke object representing
this stroke. | IStroke |
Egenskapsdetaljer
joints | egenskap |
joints:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Specifies the appearance of line intersections used at angles.
Valid values are JointStyle.ROUND
, JointStyle.MITER
,
and JointStyle.BEVEL
.
Implementering
public function get joints():String
Relaterade API-element
flash.display.JoingStyle
miterLimit | egenskap |
scaleMode | egenskap |
scaleMode:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A value from the LineScaleMode class that specifies which scale mode to use. Value valids are:
-
LineScaleMode.NORMAL
— Always scale the line thickness when the object is scaled (the default). -
LineScaleMode.NONE
— Never scale the line thickness. -
LineScaleMode.VERTICAL
— Do not scale the line thickness if the object is scaled vertically only. -
LineScaleMode.HORIZONTAL
— Do not scale the line thickness if the object is scaled horizontally only.
Standardvärdet är LineScaleMode.NORMAL.
Implementering
public function get scaleMode():String
Relaterade API-element
weight | egenskap |
Metoddetaljer
apply | () | metod |
public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Applies the properties to the specified Graphics object.
Parametrar
graphics:Graphics — The Graphics object to apply the properties to.
| |
targetBounds:Rectangle — The bounds of the shape that the stroke is applied to.
| |
targetOrigin:Point — The Point that defines the origin (0,0) of the shape in the
coordinate system of target.
|
createGraphicsStroke | () | metod |
public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 4 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Generates a GraphicsStroke object representing this stroke.
Parametrar
targetBounds:Rectangle — The stroke's bounding box.
| |
targetOrigin:Point — The Point that defines the origin (0,0) of the shape in the
coordinate system of target.
|
GraphicsStroke — The Drawing API-2 GraphicsStroke object representing
this stroke.
|
Tue Jun 12 2018, 01:40 PM Z