Paquete | mx.graphics |
Interfaz | public interface IStroke |
Implementadores | GradientStroke, SolidColorStroke |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Propiedad | Definido por | ||
---|---|---|---|
joints : String [solo lectura]
Specifies the appearance of line intersections used at angles. | IStroke | ||
miterLimit : Number [solo lectura]
Indicates the limit at which a miter is cut off. | IStroke | ||
scaleMode : String [solo lectura]
A value from the LineScaleMode class
that specifies which scale mode to use. | IStroke | ||
weight : Number
The line weight, in pixels. | IStroke |
Método | Definido por | ||
---|---|---|---|
Applies the properties to the specified Graphics object. | IStroke | ||
Generates a GraphicsStroke object representing
this stroke. | IStroke |
joints | propiedad |
joints:String
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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
.
Implementación
public function get joints():String
Elementos de API relacionados
miterLimit | propiedad |
miterLimit:Number
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Indicates the limit at which a miter is cut off. Valid values range from 0 to 255.
El valor predeterminado es 3.
Implementación
public function get miterLimit():Number
scaleMode | propiedad |
scaleMode:String
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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.
El valor predeterminado es LineScaleMode.NORMAL.
Implementación
public function get scaleMode():String
Elementos de API relacionados
weight | propiedad |
weight:Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The line weight, in pixels. For many chart lines, the default value is 1 pixel.
Implementación
public function get weight():Number
public function set weight(value:Number):void
apply | () | método |
public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Applies the properties to the specified Graphics object.
Parámetros
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 | () | método |
public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Generates a GraphicsStroke object representing this stroke.
Parámetros
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, 02:12 PM Z