public class KnkoResource extends BooleanResource
Class KnkoResource. This resource contains information about blending of clipped element.
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_TOOL_KEY
The type tool info key.
|
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
Constructor and Description |
---|
KnkoResource()
Initializes a new instance of the
KnkoResource class. |
KnkoResource(boolean knockout)
Initializes a new instance of the
KnkoResource class. |
KnkoResource(byte[] data)
Initializes a new instance of the
KnkoResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the layer resource key.
|
boolean |
getKnockout()
Gets a value indicating whether [blend interior elements].
|
void |
setKnockout(boolean value)
Sets a value indicating whether [blend interior elements].
|
getLength, getPsdVersion, getSignature, save
toString
public static final int TYPE_TOOL_KEY
The type tool info key.
public KnkoResource(boolean knockout)
Initializes a new instance of the KnkoResource
class.
knockout
- if set to true
[blend interior elements].public KnkoResource()
Initializes a new instance of the KnkoResource
class.
public KnkoResource(byte[] data)
Initializes a new instance of the KnkoResource
class.
With custom or unknown value
data
- The resource data.com.aspose.ms.System.ArgumentException
- Invalid Knko Resource valuepublic final boolean getKnockout()
Gets a value indicating whether [blend interior elements].
public final void setKnockout(boolean value)
Sets a value indicating whether [blend interior elements].
value
- a value indicating whether [blend interior elements].public int getKey()
Gets the layer resource key.
getKey
in class LayerResource