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 |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
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 or sets a value indicating whether [blend interior elements].
|
void |
setKnockout(boolean value)
Gets or sets a value indicating whether [blend interior elements].
|
getLength, getPsdVersion, getSignature, getValue, save, setValue
toString
public static final int TypeToolKey
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 or sets a value indicating whether [blend interior elements].
Value:true
if [blend interior elements]; otherwise, false
.public final void setKnockout(boolean value)
Gets or sets a value indicating whether [blend interior elements].
Value:true
if [blend interior elements]; otherwise, false
.public int getKey()
Gets the layer resource key.
getKey
in class LayerResource