Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


/**
 * The TextLineCreationResult class is an enumeration of constant values used with <code>TextBlock.textLineCreationResult</code>.
 * @see TextBlock#createTextLine()
 * @see TextBlock#textLineCreationResult
 *
 * /
public final class TextLineCreationResult {
  /**
   * Indicates no line was created because all text in the block had already been broken.
   * /
  public static const COMPLETE:String = "complete";
  /**
   * Indicates the line was created with an emergency break because no break opportunity was available in the specified width.
   * /
  public static const EMERGENCY:String = "emergency";
  /**
   * Indicates no line was created because no text could fit in the specified width and <code>fitSomething</code> was not specified in the call to <code>createTextLine()</code>.
   * /
  public static const INSUFFICIENT_WIDTH:String = "insufficientWidth";
  /**
   * Indicates the line was successfully broken.
   * /
  public static const SUCCESS:String = "success";
}*/function TextLineCreationResult() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: TextLineCreationResult},
      staticMembers: {
        COMPLETE: "complete",
        EMERGENCY: "emergency",
        INSUFFICIENT_WIDTH: "insufficientWidth",
        SUCCESS: "success"
      }
    }));
  });
});
//# sourceMappingURL=TextLineCreationResult.js.map
New to GrepCode? Check out our FAQ X