public class TextLayer extends Layer implements com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
The text layer class
BLEND_SIGNATURE, LAYER_HEADER_SIZE
Modifier and Type | Method and Description |
---|---|
static TextLayer |
createInstance_internalized(Layer layer,
com.aspose.imaging_internal.fileformats.psd.sections.LayerAndMaskInfo layerAndMaskInfo)
Creates the new instance of the
TextLayer class. |
Font |
getFont()
Gets the font.
|
String |
getInnerText()
Gets the text of the layer
|
String |
getText()
Gets the text.
|
Color |
getTextColor()
Gets the color of the text.
|
void |
updateText(String text)
Updates the text.
|
void |
updateText(String text,
Color color)
Updates the text.
|
void |
updateText(String text,
float fontSize)
Updates the text.
|
void |
updateText(String text,
float fontSize,
Color color)
Updates the text.
|
void |
updateText(String text,
Point leftTopCoordinate)
Updates the text.
|
void |
updateText(String text,
Point leftTopCoordinate,
Color color)
Updates the text.
|
void |
updateText(String text,
Point leftTopCoordinate,
float fontSize)
Updates the text.
|
void |
updateText(String text,
Point leftTopCoordinate,
float fontSize,
Color color)
Updates the text.
|
checkAbilityExportToRaster_internalized, createInstance_internalized, drawImage, getBitsPerPixel, getBlendModeKey, getBlendModeSignature, getBottom, getBytesPerRow_internalized, getBytesPerRow_internalized, getBytesPerRowForMask_internalized, getChannelInformation, getChannelsCount, getClipping, getExtraLength, getFiller, getFlags, getHeader_internalized, getHeight, getLayerBlendingRangesData, getLayerMaskData, getLayerOptions, getLayerPalette_internalized, getLeft, getLength, getName, getOpacity, getResources, getRight, getTop, getWidth, initChannelsInfoDataForRawFormat_internalized, save_internalized, save_internalized, save, save, save, saveData, setBlendModeKey, setBottom, setChannelInformation, setClipping, setFiller, setFlags, setHeader_internalized, setLayerBlendingRangesData, setLayerMaskData, setLayerPalette_internalized, setLeft, setName_internalized, setName, setOpacity, setResources, setRight, setTop
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, beginResize_internalized, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, getFormatSpecificPalette_internalized, grayscale, isCached, resize, resize, rotate, rotateFlip, setFormatSpecificPalette_internalized
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getPixel, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getTransparentColor, getVerticalResolution, getXmpData, hasAlpha, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, readScanLine, rotate, saveArgb32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setVerticalResolution, setXmpData, writeScanLine
canLoad, canLoad, canLoad, canLoad, canLoadInternal_internalized, canLoadInternal_internalized, canSave, create, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getFileFormatInternal_internalized, getFittingRectangle, getFittingRectangle, getPalette, getProportionalHeight, getProportionalWidth, getSize, getVentureLicense_internalized, hasBackgroundColor, load, load, load, load, loadInternal_internalized, loadInternal_internalized, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, setBackgroundColor, setBackgroundColor, setContainer_internalized, setPalette, setVentureLicense_internalized
getDataStreamContainer, save_internalized, save, save, setDataStreamContainer
close, dispose, getDisposed
public String getText()
Gets the text.
Value: The text.getText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
public String getInnerText()
Gets the text of the layer
Value: The text.getInnerText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
public Font getFont()
Gets the font.
Value: The font.getFont
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
public Color getTextColor()
Gets the color of the text.
Value: The color of the text.getTextColor
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
public void updateText(String text)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.public void updateText(String text, float fontSize)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.fontSize
- Size of the font.public void updateText(String text, Color color)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.color
- The color value.public void updateText(String text, float fontSize, Color color)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.fontSize
- Size of the font.color
- The color value.public void updateText(String text, Point leftTopCoordinate, float fontSize)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.leftTopCoordinate
- The left top coordinate.fontSize
- Size of the font.public void updateText(String text, Point leftTopCoordinate, Color color)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.leftTopCoordinate
- The left top coordinate.color
- The color value.public void updateText(String text, Point leftTopCoordinate)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.leftTopCoordinate
- The left top coordinate.public void updateText(String text, Point leftTopCoordinate, float fontSize, Color color)
Updates the text.
updateText
in interface com.aspose.imaging_internal.fileformats.psd.layers.ITypeToolResourceOperable
text
- The text value.leftTopCoordinate
- The left top coordinate.fontSize
- Size of the font.color
- The color value.public static TextLayer createInstance_internalized(Layer layer, com.aspose.imaging_internal.fileformats.psd.sections.LayerAndMaskInfo layerAndMaskInfo)
Creates the new instance of the TextLayer
class.
layer
- The layer.layerAndMaskInfo
- The layer and mask information.TextLayer
class.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.