Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flashx/textLayout/formats/BaselineShift",["module","exports","as3-rt/AS3"], function($module,$exports,AS3) { AS3.compilationUnit($module,$exports,function($primaryDeclaration){/*package flashx.textLayout.formats {

 * Defines constants for specifying subscript or superscript in the <code>baselineShift</code> property of the <code>TextLayoutFormat</code> class. You can specify baseline shift as an absolute pixel offset, a percentage of the current point size, or the constants SUPERSCRIPT or SUBSCRIPT. Positive values shift the line up for horizontal text (right for vertical) and negative values shift it down for horizontal (left for vertical).
 * @see TextLayoutFormat#baselineShift
 * /
public final class BaselineShift {
   * Shifts baseline to the current subscript position.
   * /
  public static const SUBSCRIPT:String = "subscript";
   * Shifts baseline to the current superscript position.
   * /
  public static const SUPERSCRIPT:String = "superscript";
}*/function BaselineShift() {}/*

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: BaselineShift},
      staticMembers: {
        SUBSCRIPT: "subscript",
        SUPERSCRIPT: "superscript"
New to GrepCode? Check out our FAQ X