Namespace sandboxe.component.text2d.spacingMode
Defined in: docbase.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Flags for spacing modes to be used with text2d objects.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
sandboxe.component.text2d.spacingMode.bitmap
Spcifies space to be determined by the actual character extents only.
|
<static> |
sandboxe.component.text2d.spacingMode.kerned
Attempts to produce the most natural spacing between text by taking into account any special character spacing rules determined by the font.
|
<static> |
sandboxe.component.text2d.spacingMode.monospace
Space among characters is distributed uniformly regardless of input text.
|
Namespace Detail
sandboxe.component.text2d.spacingMode
Flags for spacing modes to be used with text2d objects.
Field Detail
<static>
sandboxe.component.text2d.spacingMode.bitmap
Spcifies space to be determined by the actual character extents only. This is at times useful, but may cause awkward spacing with certain fonts.
<static>
sandboxe.component.text2d.spacingMode.kerned
Attempts to produce the most natural spacing between text by taking into account any special character spacing rules determined by the font. This is the default.
<static>
sandboxe.component.text2d.spacingMode.monospace
Space among characters is distributed uniformly regardless of input text. This is typically preferred for performance and for ease of determining space usage.