Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
mx.graphics 

IStroke  - AS3 Flex

Paketmx.graphics
Arabirimpublic interface IStroke
Uygulayıcılar GradientStroke, SolidColorStroke

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Defines the interface that classes that define a line must implement.



Genel Özellikler
 ÖzellikTanımlayan:
  joints : String
[salt okunur] Specifies the appearance of line intersections used at angles.
IStroke
  miterLimit : Number
[salt okunur] Indicates the limit at which a miter is cut off.
IStroke
  scaleMode : String
[salt okunur] A value from the LineScaleMode class that specifies which scale mode to use.
IStroke
  weight : Number
The line weight, in pixels.
IStroke
Genel Yöntemler
 YöntemTanımlayan:
  
apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
Applies the properties to the specified Graphics object.
IStroke
  
Generates a GraphicsStroke object representing this stroke.
IStroke
Özellik Ayrıntısı

joints

özellik
joints:String  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: 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.



Uygulama
    public function get joints():String

İlgili API Öğeleri

flash.display.JoingStyle

miterLimit

özellik 
miterLimit:Number  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Indicates the limit at which a miter is cut off. Valid values range from 0 to 255.

Varsayılan değer şudur 3.



Uygulama
    public function get miterLimit():Number

scaleMode

özellik 
scaleMode:String  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: 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.

Varsayılan değer şudur LineScaleMode.NORMAL.



Uygulama
    public function get scaleMode():String

İlgili API Öğeleri

weight

özellik 
weight:Number

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

The line weight, in pixels. For many chart lines, the default value is 1 pixel.



Uygulama
    public function get weight():Number
    public function set weight(value:Number):void
Yöntem Ayrıntısı

apply

()yöntem
public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 3
Çalışma Zamanı Sürümleri: Flash Player 9, AIR 1.1

Applies the properties to the specified Graphics object.

Parametreler

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

()yöntem 
public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Flex 4
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Generates a GraphicsStroke object representing this stroke.

Parametreler

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.

Döndürür
GraphicsStroke — The Drawing API-2 GraphicsStroke object representing this stroke.




[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.