Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flashx/textLayout/formats/TextJustify",["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>textJustify</code> property of the TextLayoutFormat class. Default value is INTER_WORD, meaning that extra space in justification is added to the space characters. DISTRIBUTE specifies that extra space is added both to space characters and between individual letters. Use these values only when setting <code>justificationRule</code> to SPACE.
 * @see TextLayoutFormat#textJustify
 * @see TextLayoutFormat#justificationRule
 *
 * /
public final class TextJustify {
  /**
   * Specifies that justification is to add space both to space characters and between individual letters.
   * /
  public static const DISTRIBUTE:String = "distribute";
  /**
   * Specifies that justification is to add space to space characters.
   * /
  public static const INTER_WORD:String = "interWord";
}*/function TextJustify() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: TextJustify},
      staticMembers: {
        DISTRIBUTE: "distribute",
        INTER_WORD: "interWord"
      }
    }));
  });
});
//# sourceMappingURL=TextJustify.js.map
New to GrepCode? Check out our FAQ X