Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flash/text/TextFormatAlign",["module","exports","as3-rt/AS3"], function($module,$exports,AS3) { AS3.compilationUnit($module,$exports,function($primaryDeclaration){/*package flash.text {


/**
 * The TextFormatAlign class provides values for text alignment in the TextFormat class.
 * @see TextFormat
 *
 * /
public final class TextFormatAlign {
  /**
   * Constant; centers the text in the text field. Use the syntax <code>TextFormatAlign.CENTER</code>.
   * @see TextFormat#align
   *
   * /
  public static const CENTER:String = "center";
  /**
   * Constant; justifies text within the text field. Use the syntax <code>TextFormatAlign.JUSTIFY</code>.
   * @see TextFormat#align
   *
   * /
  public static const JUSTIFY:String = "justify";
  /**
   * Constant; aligns text to the left within the text field. Use the syntax <code>TextFormatAlign.LEFT</code>.
   * @see TextFormat#align
   *
   * /
  public static const LEFT:String = "left";
  /**
   * Constant; aligns text to the right within the text field. Use the syntax <code>TextFormatAlign.RIGHT</code>.
   * @see TextFormat#align
   *
   * /
  public static const RIGHT:String = "right";
}*/function TextFormatAlign() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: TextFormatAlign},
      staticMembers: {
        CENTER: "center",
        JUSTIFY: "justify",
        LEFT: "left",
        RIGHT: "right"
      }
    }));
  });
});
//# sourceMappingURL=TextFormatAlign.js.map
New to GrepCode? Check out our FAQ X