Packages

 

com.aspose.psd.fileformats.psd.layers.layerresources

Class FxrpResource

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • FxrpResource

        public FxrpResource(double x,
                            double y)

        Initializes a new instance of the FxrpResource class.

        Parameters:
        x - The x coordinate of reference point
        y - The y coordinate of reference point
      • FxrpResource

        public FxrpResource()

        Initializes a new instance of the FxrpResource class.

      • FxrpResource

        public FxrpResource(byte[] data)

        Initializes a new instance of the FxrpResource class. With custom or unknown value

        Parameters:
        data - The resource data.
        Throws:
        PsdImageArgumentException - Invalid Fxrp Resource value
    • Method Detail

      • getX

        public final double getX()

        Gets or sets the x of reference point

        Value: The x of reference point
      • setX

        public final void setX(double value)

        Gets or sets the x of reference point

        Value: The x of reference point
      • getY

        public final double getY()

        Gets or sets the y of reference point

        Value: The y of reference point
      • setY

        public final void setY(double value)

        Gets or sets the y of reference point

        Value: The y of reference point
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getLength

        public int getLength()

        Gets the layer resource length in bytes.

        Specified by:
        getLength in class LayerResource
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves to the specified stream container.

        Specified by:
        save in class LayerResource
        Parameters:
        streamContainer - The stream container.
        psdVersion - The PSD version.