Module org.sejda.sambox
Class PDTransparencyGroupAttributes
java.lang.Object
org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
org.sejda.sambox.pdmodel.graphics.form.PDTransparencyGroupAttributes
- All Implemented Interfaces:
COSObjectable
Transparency group attributes.
- Author:
- Kühn & Weyh Software, GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a group object with /Transparency subtype entry.PDTransparencyGroupAttributes(COSDictionary dictionary) -
Method Summary
Modifier and TypeMethodDescriptiongetColorSpace(PDResources resources) Returns the group color space or null if it isn't defined.booleanbooleanvoidvoidMethods inherited from class org.sejda.sambox.pdmodel.common.PDDictionaryWrapper
equals, getCOSObject, hashCode
-
Constructor Details
-
PDTransparencyGroupAttributes
public PDTransparencyGroupAttributes()Creates a group object with /Transparency subtype entry. -
PDTransparencyGroupAttributes
-
-
Method Details
-
getColorSpace
- Throws:
IOException
-
getColorSpace
Returns the group color space or null if it isn't defined.- Returns:
- the group color space.
- Throws:
IOException
-
isIsolated
public boolean isIsolated()- Returns:
- true if this group is isolated. Isolated groups begin with the fully transparent image, non-isolated begin with the current backdrop.
-
setIsolated
public void setIsolated() -
isKnockout
public boolean isKnockout()- Returns:
- true if this group is a knockout. A knockout group blends with original backdrop, a non-knockout group blends with the current backdrop.
-
setKnockout
public void setKnockout()
-