public abstract class PlacedResource extends LayerResource implements IPlacedLayerResource
Defines the PlacedResource class that contains common information about a placed layer or a smart object layer in the PSD file. Is is used to support smart object layers in the Adobe� Photoshop� images.
PsbResourceSignature, ResourceSignature| Modifier and Type | Method and Description |
|---|---|
OSTypeStructure |
get_Item(String index)
Gets the
##Aspose#PSD#FileFormats#Psd#Layers#LayerResources at the specified index. |
int |
getAntiAliasPolicy()
Gets or sets the anti alias policy of the placed layer in the PSD image.
|
double |
getBottom()
Gets or sets the bottom location of the placed layer in the PSD image.
|
Rectangle |
getBounds()
Gets or sets the bounds of the placed layer in the PSD file.
|
double[] |
getHorizontalMeshPoints()
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
|
int |
getHorizontalMeshPointUnit()
Gets or sets the measure unit of the horizontal mesh points.
|
OSTypeStructure[] |
getItems()
Gets or sets the warp items.
|
double |
getLeft()
Gets or sets the left location of the placed layer in the PSD file.
|
int |
getPageNumber()
Gets or sets the page number of the placed layer in the PSD file.
|
double |
getPerspective()
Gets or sets the perspective value of the placed layer in the PSD file.
|
double |
getPerspectiveOther()
Gets or sets the perspective other value of the placed layer in the PSD file.
|
int |
getPlacedLayerType()
Gets or sets the type of the placed layer in the PSD file.
|
double |
getRight()
Gets or sets the right location of the placed layer in the PSD file.
|
int |
getSignature()
Gets the Placed resource signature.
|
double |
getTop()
Gets or sets the top location of the placed layer in the PSD image.
|
int |
getTotalPages()
Gets or sets the total pages of the placed layer in the PSD file.
|
double[] |
getTransformMatrix()
Gets or sets the transform matrix of the placed layer in the PSD file.
|
UUID |
getUniqueId()
Gets or sets the global unique identifier of the placed layer in the PSD image.
|
int |
getUOrder()
Gets or sets the U order value of the placed layer in the PSD file.
|
double |
getValue()
Gets or sets the warp value of the placed layer in the PSD image.
|
int |
getVersion()
Gets the version of the placed layer in the PSD file, usually 3.
|
double[] |
getVerticalMeshPoints()
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
|
int |
getVerticalMeshPointUnit()
Gets or sets the measure unit of the vertical mesh points.
|
int |
getVOrder()
Gets or sets the V order value of the placed layer in the PSD file.
|
boolean |
isCustom()
Gets or sets a value indicating whether this instance warp style is custom.
|
void |
setAntiAliasPolicy(int value)
Gets or sets the anti alias policy of the placed layer in the PSD image.
|
void |
setBottom(double value)
Gets or sets the bottom location of the placed layer in the PSD image.
|
void |
setBounds(Rectangle value)
Gets or sets the bounds of the placed layer in the PSD file.
|
void |
setCustom(boolean value)
Gets or sets a value indicating whether this instance warp style is custom.
|
void |
setHorizontalMeshPoints(double[] value)
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
|
void |
setHorizontalMeshPointUnit(int value)
Gets or sets the measure unit of the horizontal mesh points.
|
void |
setItems(OSTypeStructure[] value)
Gets or sets the warp items.
|
void |
setLeft(double value)
Gets or sets the left location of the placed layer in the PSD file.
|
void |
setPageNumber(int value)
Gets or sets the page number of the placed layer in the PSD file.
|
void |
setPerspective(double value)
Gets or sets the perspective value of the placed layer in the PSD file.
|
void |
setPerspectiveOther(double value)
Gets or sets the perspective other value of the placed layer in the PSD file.
|
void |
setPlacedLayerType(int value)
Gets or sets the type of the placed layer in the PSD file.
|
void |
setRight(double value)
Gets or sets the right location of the placed layer in the PSD file.
|
void |
setTop(double value)
Gets or sets the top location of the placed layer in the PSD image.
|
void |
setTotalPages(int value)
Gets or sets the total pages of the placed layer in the PSD file.
|
void |
setTransformMatrix(double[] value)
Gets or sets the transform matrix of the placed layer in the PSD file.
|
void |
setUniqueId(UUID value)
Gets or sets the global unique identifier of the placed layer in the PSD image.
|
void |
setUOrder(int value)
Gets or sets the U order value of the placed layer in the PSD file.
|
void |
setValue(double value)
Gets or sets the warp value of the placed layer in the PSD image.
|
void |
setVersion(int value)
Gets the version of the placed layer in the PSD file, usually 3.
|
void |
setVerticalMeshPoints(double[] value)
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
|
void |
setVerticalMeshPointUnit(int value)
Gets or sets the measure unit of the vertical mesh points.
|
void |
setVOrder(int value)
Gets or sets the V order value of the placed layer in the PSD file.
|
getKey, getLength, getPsdVersion, save, toStringpublic final int getVersion()
Gets the version of the placed layer in the PSD file, usually 3.
Value: The placed layer version.getVersion in interface IPlacedLayerResourcepublic final void setVersion(int value)
Gets the version of the placed layer in the PSD file, usually 3.
Value: The placed layer version.public UUID getUniqueId()
Gets or sets the global unique identifier of the placed layer in the PSD image.
Value: The unique identifier of the placed layer.getUniqueId in interface IPlacedLayerResourcepublic void setUniqueId(UUID value)
Gets or sets the global unique identifier of the placed layer in the PSD image.
Value: The unique identifier of the placed layer.setUniqueId in interface IPlacedLayerResourcepublic final boolean isCustom()
Gets or sets a value indicating whether this instance warp style is custom. If true it contains mesh points. If set to false it erases mesh points.
Value:true if the placed layer has custom style; otherwise, false.isCustom in interface IPlacedLayerResourcepublic final void setCustom(boolean value)
Gets or sets a value indicating whether this instance warp style is custom. If true it contains mesh points. If set to false it erases mesh points.
Value:true if the placed layer has custom style; otherwise, false.setCustom in interface IPlacedLayerResourcepublic int getPageNumber()
Gets or sets the page number of the placed layer in the PSD file.
Value: The page number of the placed layer.getPageNumber in interface IPlacedLayerResourcepublic void setPageNumber(int value)
Gets or sets the page number of the placed layer in the PSD file.
Value: The page number of the placed layer.setPageNumber in interface IPlacedLayerResourcepublic int getTotalPages()
Gets or sets the total pages of the placed layer in the PSD file.
Value: The total pages of the placed layer.getTotalPages in interface IPlacedLayerResourcepublic void setTotalPages(int value)
Gets or sets the total pages of the placed layer in the PSD file.
Value: The total pages of the placed layer.setTotalPages in interface IPlacedLayerResourcepublic int getAntiAliasPolicy()
Gets or sets the anti alias policy of the placed layer in the PSD image.
Value: The anti alias policy of the placed layer.getAntiAliasPolicy in interface IPlacedLayerResourcepublic void setAntiAliasPolicy(int value)
Gets or sets the anti alias policy of the placed layer in the PSD image.
Value: The anti alias policy of the placed layer.setAntiAliasPolicy in interface IPlacedLayerResourcepublic int getPlacedLayerType()
Gets or sets the type of the placed layer in the PSD file.
Value: The type of the placed layer.getPlacedLayerType in interface IPlacedLayerResourcepublic void setPlacedLayerType(int value)
Gets or sets the type of the placed layer in the PSD file.
Value: The type of the placed layer.setPlacedLayerType in interface IPlacedLayerResourcepublic final double getLeft()
Gets or sets the left location of the placed layer in the PSD file.
Value: The left location of the placed layer.getLeft in interface IPlacedLayerResourcepublic final void setLeft(double value)
Gets or sets the left location of the placed layer in the PSD file.
Value: The left location of the placed layer.setLeft in interface IPlacedLayerResourcepublic final double getTop()
Gets or sets the top location of the placed layer in the PSD image.
Value: The top location of the placed layer.getTop in interface IPlacedLayerResourcepublic final void setTop(double value)
Gets or sets the top location of the placed layer in the PSD image.
Value: The top location of the placed layer.setTop in interface IPlacedLayerResourcepublic final double getRight()
Gets or sets the right location of the placed layer in the PSD file.
Value: The right location of the placed layer.getRight in interface IPlacedLayerResourcepublic final void setRight(double value)
Gets or sets the right location of the placed layer in the PSD file.
Value: The right location of the placed layer.setRight in interface IPlacedLayerResourcepublic final double getBottom()
Gets or sets the bottom location of the placed layer in the PSD image.
Value: The bottom location of the placed layer.getBottom in interface IPlacedLayerResourcepublic final void setBottom(double value)
Gets or sets the bottom location of the placed layer in the PSD image.
Value: The bottom location of the placed layer.setBottom in interface IPlacedLayerResourcepublic final Rectangle getBounds()
Gets or sets the bounds of the placed layer in the PSD file.
Value: The placed layer bounds.getBounds in interface IPlacedLayerResourcepublic final void setBounds(Rectangle value)
Gets or sets the bounds of the placed layer in the PSD file.
Value: The placed layer bounds.setBounds in interface IPlacedLayerResourcepublic double[] getTransformMatrix()
Gets or sets the transform matrix of the placed layer in the PSD file.
Value: The transform matrix of the placed layer.getTransformMatrix in interface IPlacedLayerResourcepublic void setTransformMatrix(double[] value)
Gets or sets the transform matrix of the placed layer in the PSD file.
Value: The transform matrix of the placed layer.setTransformMatrix in interface IPlacedLayerResourcepublic final double[] getHorizontalMeshPoints()
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
Value: The horizontal mesh points of the placed layer.getHorizontalMeshPoints in interface IPlacedLayerResourcepublic final void setHorizontalMeshPoints(double[] value)
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
Value: The horizontal mesh points of the placed layer.setHorizontalMeshPoints in interface IPlacedLayerResourcepublic final double[] getVerticalMeshPoints()
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
Value: The horizontal mesh points of the placed layer.getVerticalMeshPoints in interface IPlacedLayerResourcepublic final void setVerticalMeshPoints(double[] value)
Gets or sets the horizontal mesh points of the placed layer in the PSD file.
Value: The horizontal mesh points of the placed layer.setVerticalMeshPoints in interface IPlacedLayerResourcepublic final int getHorizontalMeshPointUnit()
Gets or sets the measure unit of the horizontal mesh points.
Value: The measure unit of the horizontal mesh points.getHorizontalMeshPointUnit in interface IPlacedLayerResourcepublic final void setHorizontalMeshPointUnit(int value)
Gets or sets the measure unit of the horizontal mesh points.
Value: The measure unit of the horizontal mesh points.setHorizontalMeshPointUnit in interface IPlacedLayerResourcepublic final int getVerticalMeshPointUnit()
Gets or sets the measure unit of the vertical mesh points.
Value: The measure unit of the vertical mesh points.getVerticalMeshPointUnit in interface IPlacedLayerResourcepublic final void setVerticalMeshPointUnit(int value)
Gets or sets the measure unit of the vertical mesh points.
Value: The measure unit of the vertical mesh points.setVerticalMeshPointUnit in interface IPlacedLayerResourcepublic int getSignature()
Gets the Placed resource signature.
getSignature in class LayerResourcepublic final double getValue()
Gets or sets the warp value of the placed layer in the PSD image.
Value: The warp value of the placed layer.getValue in interface IPlacedLayerResourcepublic final void setValue(double value)
Gets or sets the warp value of the placed layer in the PSD image.
Value: The warp value of the placed layer.setValue in interface IPlacedLayerResourcepublic final double getPerspective()
Gets or sets the perspective value of the placed layer in the PSD file.
Value: The perspective value of the placed layer.getPerspective in interface IPlacedLayerResourcepublic final void setPerspective(double value)
Gets or sets the perspective value of the placed layer in the PSD file.
Value: The perspective value of the placed layer.setPerspective in interface IPlacedLayerResourcepublic final double getPerspectiveOther()
Gets or sets the perspective other value of the placed layer in the PSD file.
Value: The perspective other value of the placed layer.getPerspectiveOther in interface IPlacedLayerResourcepublic final void setPerspectiveOther(double value)
Gets or sets the perspective other value of the placed layer in the PSD file.
Value: The perspective other value of the placed layer.setPerspectiveOther in interface IPlacedLayerResourcepublic final int getUOrder()
Gets or sets the U order value of the placed layer in the PSD file.
Value: The U order value of the placed layer.getUOrder in interface IPlacedLayerResourcepublic final void setUOrder(int value)
Gets or sets the U order value of the placed layer in the PSD file.
Value: The U order value of the placed layer.setUOrder in interface IPlacedLayerResourcepublic final int getVOrder()
Gets or sets the V order value of the placed layer in the PSD file.
Value: The V order value of the placed layer.getVOrder in interface IPlacedLayerResourcepublic final void setVOrder(int value)
Gets or sets the V order value of the placed layer in the PSD file.
Value: The V order value of the placed layer.setVOrder in interface IPlacedLayerResourcepublic OSTypeStructure[] getItems()
Gets or sets the warp items.
Value: The warp items.getItems in interface IPlacedLayerResourcepublic void setItems(OSTypeStructure[] value)
Gets or sets the warp items.
Value: The warp items.setItems in interface IPlacedLayerResourcepublic final OSTypeStructure get_Item(String index)
Gets the ##Aspose#PSD#FileFormats#Psd#Layers#LayerResources at the specified index.
index - The key name.
Value:
The ##Aspose#PSD#FileFormats#Psd#Layers#LayerResources.##Aspose#PSD#FileFormats#Psd#Layers#LayerResources instance or null.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.