Pacoteflash.display
Classepublic final class LineScaleMode
HerançaLineScaleMode Inheritance Object

The LineScaleMode class provides values for the scaleMode parameter in the Graphics.lineStyle() method.

Veja também

flash.display.Graphics.lineStyle()


Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Métodos Públicos
 MétodoDefinido por
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constantes públicas
 ConstanteDefinido por
  HORIZONTAL : String = "horizontal"
[static] With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line scales only vertically.
LineScaleMode
  NONE : String = "none"
[static] With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line never scales.
LineScaleMode
  NORMAL : String = "normal"
[static] With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line always scales when the object is scaled (the default).
LineScaleMode
  VERTICAL : String = "vertical"
[static] With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line scales only horizontally.
LineScaleMode
Detalhes da constante
HORIZONTALConstante
public static const HORIZONTAL:String = "horizontal"

With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line scales only vertically. For exemplo, consider the following circles, drawn with a one-pixel line, and each with the scaleMode parameter set to LineScaleMode.VERTICAL. The circle on the left is scaled only vertically, and the circle on the right is scaled both vertically and horizontally.

NONEConstante 
public static const NONE:String = "none"

With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line never scales.

NORMALConstante 
public static const NORMAL:String = "normal"

With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line always scales when the object is scaled (the default).

VERTICALConstante 
public static const VERTICAL:String = "vertical"

With this setting used as the scaleMode parameter of the lineStyle() method, the thickness of the line scales only horizontally. For exemplo, consider the following circles, drawn with a one-pixel line, and each with the scaleMode parameter set to LineScaleMode.HORIZONTAL. The circle on the left is scaled only horizontally, and the circle on the right is scaled both vertically and horizontally.