public class TypeToolInfoResource extends LayerResource
The type tool information. For PSD version lower than 6.0.
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
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 short getVersion()
Gets or sets the version.
Value: The version.public void setVersion(short value)
Gets or sets the version.
Value: The version.public double[] getTransformMatrix()
Gets or sets the transform matrix.
Value: The transform matrix.public void setTransformMatrix(double[] value)
Gets or sets the transform matrix.
Value: The transform matrix.public short getFontVersion()
Gets or sets the font version.
Value: The font version.public void setFontVersion(short value)
Gets or sets the font version.
Value: The font version.public short getFontsCount()
Gets the fonts count.
public TypeToolFontInfo[] getFonts()
Gets or sets the fonts.
Value: The fonts.public void setFonts(TypeToolFontInfo[] value)
Gets or sets the fonts.
Value: The fonts.public short getStylesCount()
Gets the styles count.
public TypeToolStyleInfo[] getStyles()
Gets or sets the font styles.
Value: The font styles.public void setStyles(TypeToolStyleInfo[] value)
Gets or sets the font styles.
Value: The font styles.public short getTypeValue()
Gets or sets the type value.
Value: The type value.public void setTypeValue(short value)
Gets or sets the type value.
Value: The type value.public int getScaleFactor()
Gets or sets the scale factor.
Value: The scale factor.public void setScaleFactor(int value)
Gets or sets the scale factor.
Value: The scale factor.public int getCharacterCount()
Gets or sets the character count.
Value: The character count.public void setCharacterCount(int value)
Gets or sets the character count.
Value: The character count.public int getHorizontalPlacement()
Gets or sets the horizontal placement.
Value: The horizontal placement.public void setHorizontalPlacement(int value)
Gets or sets the horizontal placement.
Value: The horizontal placement.public int getVerticalPlacement()
Gets or sets the vertical placement.
Value: The vertical placement.public void setVerticalPlacement(int value)
Gets or sets the vertical placement.
Value: The vertical placement.public int getSelectionStart()
Gets or sets the selection start.
Value: The selection start.public void setSelectionStart(int value)
Gets or sets the selection start.
Value: The selection start.public int getSelectionEnd()
Gets or sets the selection end.
Value: The selection end.public void setSelectionEnd(int value)
Gets or sets the selection end.
Value: The selection end.public short getLineCount()
Gets the line count.
Value: The line count.public TypeToolLineInfo[] getLines()
Gets or sets the lines.
Value: The lines.public void setLines(TypeToolLineInfo[] value)
Gets or sets the lines.
Value: The lines.public short getColorSpaceValue()
Gets or sets the color space value.
Value: The color space value.public void setColorSpaceValue(short value)
Gets or sets the color space value.
Value: The color space value.public short getRComponent()
Gets or sets the r component.
Value: The r component.public void setRComponent(short value)
Gets or sets the r component.
Value: The r component.public short getGComponent()
Gets or sets the g component.
Value: The g component.public void setGComponent(short value)
Gets or sets the g component.
Value: The g component.public short getBComponent()
Gets or sets the b component.
Value: The b component.public void setBComponent(short value)
Gets or sets the b component.
Value: The b component.public short getAComponent()
Gets or sets a component.
Value: a component.public 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.