public class Group extends Element
Therefore the group has no state and is not represented in any way in a PDF content stream. When used in a Clip, a group is used to associate Text objects into a single clipping object.
| Constructor and Description |
|---|
Group()
Create a new Group.
|
Group(Content content)
Create a Group with the given Content.
|
| Modifier and Type | Method and Description |
|---|---|
Group |
clone()
Makes a copy of the group.
|
Group |
clone(java.util.EnumSet<ElementCloneFlags> cloneFlags)
Makes a copy of the group.
|
Group |
colorConvert(Document document,
ColorProfile prof,
RenderIntent intent,
boolean embed)
Applies the specified ICC ColorProfile to the elements in the Group object
|
void |
delete() |
Content |
getContent()
Obtain the content of a Group.
|
void |
setContent(Content content)
Set the content of a Group.
|
public Group()
public Group(Content content)
content - The new Content of the group.public void setContent(Content content)
content - The new Content of the group.public Content getContent()
public Group clone()
Make a copy of an group to obtain a new group that has a distinct set of attributes.
public Group clone(java.util.EnumSet<ElementCloneFlags> cloneFlags)
Make a copy of an group to obtain a new group that has a distinct set of attributes.
public Group colorConvert(Document document, ColorProfile prof, RenderIntent intent, boolean embed)
document - The document the element belongs to.prof - The ICC ColorProfile to be applied.intent - The ICC Rendering Intent for the ColorProfileembed - If true, embed the color space and make the object calibrated. If it is false and the target profile is CMYK, RGB, or Gray, the colors space of the resulting objects, after conversion, will be DeviceCMYK, DeviceRGB, or DeviceGray, respectively.