public class TypeToolInfoResource extends LayerResource
The type tool information. For PSD version lower than 6.0.
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
TypeToolInfoResource() |
Modifier and Type | Method and Description |
---|---|
short |
getAComponent()
Gets or sets a component.
|
short |
getBComponent()
Gets or sets the b component.
|
int |
getCharacterCount()
Gets or sets the character count.
|
short |
getColorSpaceValue()
Gets or sets the color space value.
|
TypeToolFontInfo[] |
getFonts()
Gets or sets the fonts.
|
short |
getFontsCount()
Gets the fonts count.
|
short |
getFontVersion()
Gets or sets the font version.
|
short |
getGComponent()
Gets or sets the g component.
|
int |
getHorizontalPlacement()
Gets or sets the horizontal placement.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
short |
getLineCount()
Gets the line count.
|
TypeToolLineInfo[] |
getLines()
Gets or sets the lines.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
short |
getRComponent()
Gets or sets the r component.
|
int |
getScaleFactor()
Gets or sets the scale factor.
|
int |
getSelectionEnd()
Gets or sets the selection end.
|
int |
getSelectionStart()
Gets or sets the selection start.
|
int |
getSignature()
Gets the layer resource signature.
|
TypeToolStyleInfo[] |
getStyles()
Gets or sets the font styles.
|
short |
getStylesCount()
Gets the styles count.
|
double[] |
getTransformMatrix()
Gets or sets the transform matrix.
|
short |
getTypeValue()
Gets or sets the type value.
|
short |
getVersion()
Gets or sets the version.
|
int |
getVerticalPlacement()
Gets or sets the vertical placement.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the specified stream container.
|
void |
setAComponent(short value)
Gets or sets a component.
|
void |
setBComponent(short value)
Gets or sets the b component.
|
void |
setCharacterCount(int value)
Gets or sets the character count.
|
void |
setColorSpaceValue(short value)
Gets or sets the color space value.
|
void |
setFonts(TypeToolFontInfo[] value)
Gets or sets the fonts.
|
void |
setFontVersion(short value)
Gets or sets the font version.
|
void |
setGComponent(short value)
Gets or sets the g component.
|
void |
setHorizontalPlacement(int value)
Gets or sets the horizontal placement.
|
void |
setLines(TypeToolLineInfo[] value)
Gets or sets the lines.
|
void |
setRComponent(short value)
Gets or sets the r component.
|
void |
setScaleFactor(int value)
Gets or sets the scale factor.
|
void |
setSelectionEnd(int value)
Gets or sets the selection end.
|
void |
setSelectionStart(int value)
Gets or sets the selection start.
|
void |
setStyles(TypeToolStyleInfo[] value)
Gets or sets the font styles.
|
void |
setTransformMatrix(double[] value)
Gets or sets the transform matrix.
|
void |
setTypeValue(short value)
Gets or sets the type value.
|
void |
setVersion(short value)
Gets or sets the version.
|
void |
setVerticalPlacement(int value)
Gets or sets the vertical placement.
|
toString
public int getSignature()
Gets the layer resource signature.
getSignature
in class LayerResource
public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getLength()
Gets the layer resource length in bytes.
getLength
in class LayerResource
public int getPsdVersion()
Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
getPsdVersion
in class LayerResource
public final short getVersion()
Gets or sets the version.
Value: The version.public final void setVersion(short value)
Gets or sets the version.
Value: The version.public final double[] getTransformMatrix()
Gets or sets the transform matrix.
Value: The transform matrix.public final void setTransformMatrix(double[] value)
Gets or sets the transform matrix.
Value: The transform matrix.public final short getFontVersion()
Gets or sets the font version.
Value: The font version.public final void setFontVersion(short value)
Gets or sets the font version.
Value: The font version.public final short getFontsCount()
Gets the fonts count.
public final TypeToolFontInfo[] getFonts()
Gets or sets the fonts.
Value: The fonts.public final void setFonts(TypeToolFontInfo[] value)
Gets or sets the fonts.
Value: The fonts.public final short getStylesCount()
Gets the styles count.
public final TypeToolStyleInfo[] getStyles()
Gets or sets the font styles.
Value: The font styles.public final void setStyles(TypeToolStyleInfo[] value)
Gets or sets the font styles.
Value: The font styles.public final short getTypeValue()
Gets or sets the type value.
Value: The type value.public final void setTypeValue(short value)
Gets or sets the type value.
Value: The type value.public final int getScaleFactor()
Gets or sets the scale factor.
Value: The scale factor.public final void setScaleFactor(int value)
Gets or sets the scale factor.
Value: The scale factor.public final int getCharacterCount()
Gets or sets the character count.
Value: The character count.public final void setCharacterCount(int value)
Gets or sets the character count.
Value: The character count.public final int getHorizontalPlacement()
Gets or sets the horizontal placement.
Value: The horizontal placement.public final void setHorizontalPlacement(int value)
Gets or sets the horizontal placement.
Value: The horizontal placement.public final int getVerticalPlacement()
Gets or sets the vertical placement.
Value: The vertical placement.public final void setVerticalPlacement(int value)
Gets or sets the vertical placement.
Value: The vertical placement.public final int getSelectionStart()
Gets or sets the selection start.
Value: The selection start.public final void setSelectionStart(int value)
Gets or sets the selection start.
Value: The selection start.public final int getSelectionEnd()
Gets or sets the selection end.
Value: The selection end.public final void setSelectionEnd(int value)
Gets or sets the selection end.
Value: The selection end.public final short getLineCount()
Gets the line count.
Value: The line count.public final TypeToolLineInfo[] getLines()
Gets or sets the lines.
Value: The lines.public final void setLines(TypeToolLineInfo[] value)
Gets or sets the lines.
Value: The lines.public final short getColorSpaceValue()
Gets or sets the color space value.
Value: The color space value.public final void setColorSpaceValue(short value)
Gets or sets the color space value.
Value: The color space value.public final short getRComponent()
Gets or sets the r component.
Value: The r component.public final void setRComponent(short value)
Gets or sets the r component.
Value: The r component.public final short getGComponent()
Gets or sets the g component.
Value: The g component.public final void setGComponent(short value)
Gets or sets the g component.
Value: The g component.public final short getBComponent()
Gets or sets the b component.
Value: The b component.public final void setBComponent(short value)
Gets or sets the b component.
Value: The b component.public final short getAComponent()
Gets or sets a component.
Value: a component.public final void setAComponent(short value)
Gets or sets a component.
Value: a component.public void save(StreamContainer streamContainer, int psdVersion)
Saves the specified stream container.
save
in class LayerResource
streamContainer
- The stream container.psdVersion
- The PSD version.