Skip to main content

FormTransparencyGroup Class

Defines transparency settings for a PDF form XObject.

Declaration

public class FormTransparencyGroup extends JavaObject implements ICloneable

Remarks

A transparency group controls how the contents of a form are composited with other page elements.

Use FormTemplate.setGroup() class to specify whether the group is isolated, uses knockout behavior, and which color space applies to transparency calculations.

Implements

com.devexpress.system.ICloneable

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
FormTransparencyGroup

FormTransparencyGroup()

Initializes a new instance of the FormTransparencyGroup class.

Declaration

public FormTransparencyGroup()

Methods

clone(DocumentCloneContext context) Method

Creates a copy of the current object.

Declaration

public FormTransparencyGroup clone(DocumentCloneContext context)

Parameters

Name Type Description
context DocumentCloneContext

The context used to clone document objects.

Returns

Type Description
FormTransparencyGroup

A copy of the current FormTransparencyGroup instance.

deepClone() Method

Creates a deep copy of the current object.

Declaration

public FormTransparencyGroup deepClone()

Returns

Type Description
FormTransparencyGroup

A deep copy of the current object.

getColorSpace() Method

Returns the color space used for transparency group calculations.

Declaration

public ColorSpace getColorSpace()

Returns

Type Description
ColorSpace

The color space of the transparency group.

getIsolated() Method

Returns whether the transparency group is isolated.

Declaration

public boolean getIsolated()

Returns

Type Description
boolean

true if the transparency group is isolated; otherwise, false.

getKnockout() Method

Returns whether the transparency group uses knockout behavior.

Declaration

public boolean getKnockout()

Returns

Type Description
boolean

true if knockout behavior is enabled; otherwise, false.

objectClone() Method

Creates a copy of the current object.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the current object.

setColorSpace(ColorSpace value) Method

Sets the color space used for transparency group calculations.

Declaration

public void setColorSpace(ColorSpace value)

Parameters

Name Type Description
value ColorSpace

The color space of the transparency group.

setIsolated(boolean value) Method

Sets whether the transparency group is isolated.

Declaration

public void setIsolated(boolean value)

Parameters

Name Type Description
value boolean

true to isolate the transparency group; otherwise, false.

Remarks

An isolated group is composited independently from the objects behind it. The group starts with a transparent backdrop instead of inheriting the existing page backdrop.

setKnockout(boolean value) Method

Sets whether the transparency group uses knockout behavior.

Declaration

public void setKnockout(boolean value)

Parameters

Name Type Description
value boolean

true to enable knockout behavior; otherwise, false.

Remarks

When knockout is enabled, overlapping objects within the group replace the underlying objects instead of blending with them.