KnkoResource Class

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

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.KnkoResource

Inheritance: BooleanResource

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
KnkoResource()Initializes a new instance of the KnkoResource class.
KnkoResource(data)Initializes a new instance of the KnkoResource class.
With custom or unknown value
KnkoResource(knockout)Initializes a new instance of the KnkoResource class.

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
TYPE_TOOL_KEY [static]intrThe type tool info key.
keyintrGets the layer resource key.
knockoutboolr/wGets or sets a value indicating whether [blend interior elements].
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the psd version.
signatureintrGets the signature.

Methods

NameDescription
save(stream_container, psd_version)Saves the specified stream container.

Constructor: KnkoResource()

 KnkoResource() 

Initializes a new instance of the KnkoResource class.

Constructor: KnkoResource(data)

 KnkoResource(data) 

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

Parameters:

ParameterTypeDescription
databyteThe resource data.

Constructor: KnkoResource(knockout)

 KnkoResource(knockout) 

Initializes a new instance of the KnkoResource class.

Parameters:

ParameterTypeDescription
knockoutboolif set to true [blend interior elements].

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
psd_versionintThe PSD version.