패키지 | mx.graphics |
인터페이스 | public interface IStroke |
구현자 | GradientStroke, SolidColorStroke |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
공용 속성
속성 | 정의 주체 | ||
---|---|---|---|
joints : String [읽기 전용]
Specifies the appearance of line intersections used at angles. | IStroke | ||
miterLimit : Number [읽기 전용]
Indicates the limit at which a miter is cut off. | IStroke | ||
scaleMode : String [읽기 전용]
A value from the LineScaleMode class
that specifies which scale mode to use. | IStroke | ||
weight : Number
The line weight, in pixels. | IStroke |
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
Applies the properties to the specified Graphics object. | IStroke | ||
Generates a GraphicsStroke object representing
this stroke. | IStroke |
속성 세부 정보
joints | 속성 |
miterLimit | 속성 |
scaleMode | 속성 |
scaleMode:String
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
기본값: LineScaleMode.NORMAL.
구현
public function get scaleMode():String
관련 API 요소
weight | 속성 |
메서드 세부 정보
apply | () | 메서드 |
public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Applies the properties to the specified Graphics object.
매개 변수
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 | () | 메서드 |
public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Generates a GraphicsStroke object representing this stroke.
매개 변수
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, 03:17 PM Z