Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


/**
 * The JustificationStyle class is an enumeration of constant values for setting the <code>justificationStyle</code> property of the EastAsianJustifier class. These constants specify options for handling kinsoku characters, which are Japanese characters that cannot appear at either the beginning or end of a line.
 * @see EastAsianJustifier#justificationStyle
 *
 * /
public final class JustificationStyle {
  /**
   * Bases justification on either expanding or compressing the line, whichever gives a result closest to the desired width.
   * /
  public static const PRIORITIZE_LEAST_ADJUSTMENT:String = "prioritizeLeastAdjustment";
  /**
   * Bases justification on compressing kinsoku at the end of the line, or expanding it if no kinsoku occurs or if that space is insufficient.
   * /
  public static const PUSH_IN_KINSOKU:String = "pushInKinsoku";
  /**
   * Bases justification on expanding the line.
   * /
  public static const PUSH_OUT_ONLY:String = "pushOutOnly";
}*/function JustificationStyle() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: JustificationStyle},
      staticMembers: {
        PRIORITIZE_LEAST_ADJUSTMENT: "prioritizeLeastAdjustment",
        PUSH_IN_KINSOKU: "pushInKinsoku",
        PUSH_OUT_ONLY: "pushOutOnly"
      }
    }));
  });
});
//# sourceMappingURL=JustificationStyle.js.map
New to GrepCode? Check out our FAQ X