Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


/**
 * Defines values for setting the <code>lineBreak</code> property of <code>TextLayoutFormat</code> to specify how lines are broken within wrapping text.
 * @see TextLayoutFormat#linebreak
 *
 * /
public final class LineBreak {
  /**
   * Specifies that lines break only at explicit return or line feed characters.
   * /
  public static const EXPLICIT:String = "explicit";
  /**
   * Specifies that lines wrap to fit the container width.
   * /
  public static const TO_FIT:String = "toFit";
}*/function LineBreak() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: LineBreak},
      staticMembers: {
        EXPLICIT: "explicit",
        TO_FIT: "toFit"
      }
    }));
  });
});
//# sourceMappingURL=LineBreak.js.map
New to GrepCode? Check out our FAQ X