Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

 * Defines values for the <code>firstBaselineOffset</code> property of the <code>TextLayoutFormat</code> and <code>ContainerFormattedElement</code> classes. Determines the offset from the top inset of the container to the baseline of the first line. Baseline offset may be specified as the ascent of the line, the height of the line, or an auto generated amount.
 * <p><img src="" /> <img src="" /> <img src="" /> <img src="" /></p>
 * @see TextLayoutFormat#firstBaselineOffset
 * /
public final class BaselineOffset {
   * Specifies an offset equal to the ascent of the line, that is, the ascent of the tallest font in the line, accounting for inline graphics as having the bottom of the graphic on the baseline.
   * /
  public static const ASCENT:String = "ascent";
   * Aligns the ascent of the line with the container top inset.
   * /
  public static const AUTO:String = "auto";
   * Specifies an offset equal to the height of the line.
   * /
  public static const LINE_HEIGHT:String = "lineHeight";
}*/function BaselineOffset() {}/*

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: BaselineOffset},
      staticMembers: {
        ASCENT: "ascent",
        AUTO: "auto",
        LINE_HEIGHT: "lineHeight"
New to GrepCode? Check out our FAQ X