Packageflash.text
Classpublic final class CSMSettings
InheritanceCSMSettings Inheritance Object

The CSMSettings class contains properties for use with the TextRenderer.setAdvancedAntiAliasing() method to provide continuous stroke modulation (CSM). CSM is the continuous modulation of both stroke weight and edge sharpness.

See also
TextRenderer.setAdvancedAntiAliasing()


Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  fontSize : Number
The size, in pixels, for which the settings apply.
CSMSettings
  insideCutoff : Number
The inside cutoff value, above which densities are set to a maximum density value (such as 255).
CSMSettings
  outsideCutoff : Number
The outside cutoff value, below which densities are set to zero.
CSMSettings
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods
 FunctionDefined by
  
CSMSettings(fontSize:Number, insideCutoff:Number, outsideCutoff:Number)
CSMSettings
 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
Property detail
fontSize property
public var fontSize:Number

The size, in pixels, for which the settings apply.

The advancedAntiAliasingTable array passed to the setAdvancedAntiAliasing() method can contain multiple entries that specify CSM settings for different font sizes. Using this property, you can specify to which font size the other settings apply. For more information, see the TextRenderer.setAdvancedAntiAliasingTable() entry.

See also
TextRenderer.setAdvancedAntiAliasingTable()
insideCutoff property
public var insideCutoff:Number

The inside cutoff value, above which densities are set to a maximum density value (such as 255). For more information, see the TextRenderer.setAdvancedAntiAliasingTable() entry.

See also
TextRenderer.setAdvancedAntiAliasingTable()
outsideCutoff property
public var outsideCutoff:Number

The outside cutoff value, below which densities are set to zero. For more information, see the TextRenderer.setAdvancedAntiAliasingTable() entry.

See also
TextRenderer.setAdvancedAntiAliasingTable()
Constructor detail
CSMSettings constructor

public function CSMSettings(fontSize:Number, insideCutoff:Number, outsideCutoff:Number)

Parameters
fontSize:Number — The size, in pixels, for which the settings apply.
insideCutoff:Number — The inside cutoff value, above which densities are set to a maximum density value (such as 255).
outsideCutoff:Number — The outside cutoff value, below which densities are set to zero.




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/flashauthoringpreview/flash/text/CSMSettings.html