Packages

 

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

Class KnkoResource



  • public class KnkoResource
    extends BooleanResource

    Class KnkoResource. This resource contains information about blending of clipped element.

    See Also:
    LayerResource
    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • KnkoResource

        public KnkoResource(boolean knockout)

        Initializes a new instance of the KnkoResource class.

        Parameters:
        knockout - if set to true [blend interior elements].
      • KnkoResource

        public KnkoResource()

        Initializes a new instance of the KnkoResource class.

      • KnkoResource

        public KnkoResource(byte[] data)

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

        Parameters:
        data - The resource data.
        Throws:
        com.aspose.ms.System.ArgumentException - Invalid Knko Resource value
    • Method Detail

      • getKnockout

        public final boolean getKnockout()

        Gets a value indicating whether [blend interior elements].

        Returns:
      • setKnockout

        public final void setKnockout(boolean value)

        Sets a value indicating whether [blend interior elements].

        Parameters:
        value -
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
        Returns:
        the layer resource key.