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.core 

EdgeMetrics  - AS3 Flex

Paketmx.core
Sınıfpublic class EdgeMetrics
Miras AlmaEdgeMetrics Inheritance Object

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 EdgeMetrics class specifies the thickness, in pixels, of the four edge regions around a visual component.

The following Flex properties have values that are EdgeMetrics objects:

  • The borderMetrics property of the mx.core.Container and mx.skins.Border classes includes only the border in the calculations of the property values of the EdgeMetrics object.
  • The viewMetrics property of the mx.core.Container class, and of subclasses of the Container class, includes possible scrollbars and non-content elements -- such as a Panel container's header area and the area for a ControlBar component -- in the calculations of the property values of the EdgeMetrics object.
  • The viewMetricsAndPadding property of the mx.core.Container class includes the items listed for the viewMetrics property, plus the any areas defined by the margins of the container in the calculations of the property values of the EdgeMetrics object.

These three properites all return a reference to the same EdgeMetrics object that the Container is using for its measurement and layout; they do not return a copy of this object. If you need a copy, call the clone() method.

İlgili API Öğeleri



Genel Özellikler
 ÖzellikTanımlayan:
  bottom : Number
The height, in pixels, of the bottom edge region.
EdgeMetrics
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
  left : Number
The width, in pixels, of the left edge region.
EdgeMetrics
  right : Number
The width, in pixels, of the right edge region.
EdgeMetrics
  top : Number
The height, in pixels, of the top edge region.
EdgeMetrics
Genel Yöntemler
 YöntemTanımlayan:
  
EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)
Constructor.
EdgeMetrics
  
Returns a copy of this EdgeMetrics object.
EdgeMetrics
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Belirtilen nesnenin dize olarak temsil edilen halini döndürür.
Object
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
Genel Sabitler
 SabitTanımlayan:
  EMPTY : EdgeMetrics
[statik] An EdgeMetrics object with a value of zero for its left, top, right, and bottom properties.
EdgeMetrics
Özellik Ayrıntısı

bottom

özellik
public var bottom: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 height, in pixels, of the bottom edge region.

left

özellik 
public var left: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 width, in pixels, of the left edge region.

right

özellik 
public var right: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 width, in pixels, of the right edge region.

top

özellik 
public var top: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 height, in pixels, of the top edge region.

Yapıcı Ayrıntı

EdgeMetrics

()Yapıcı
public function EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)

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

Constructor.

Parametreler
left:Number (default = 0) — The width, in pixels, of the left edge region.
 
top:Number (default = 0) — The height, in pixels, of the top edge region.
 
right:Number (default = 0) — The width, in pixels, of the right edge region.
 
bottom:Number (default = 0) — The height, in pixels, of the bottom edge region.
Yöntem Ayrıntısı

clone

()yöntem
public function clone():EdgeMetrics

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

Returns a copy of this EdgeMetrics object.

Döndürür
EdgeMetrics — A copy of this EdgeMetrics object.
Sabit Ayrıntısı

EMPTY

Sabit
public static const EMPTY:EdgeMetrics

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

An EdgeMetrics object with a value of zero for its left, top, right, and bottom properties.





[ 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.