Skip to main content

VisualFragment Class

A base class for visual fragments on a PDF page.

Declaration

public abstract class VisualFragment extends PageFragment

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
JavaObject
PageFragment
VisualFragment

VisualFragment()

Initializes a new instance of the VisualFragment class.

Declaration

public VisualFragment()

Methods

getClip() Method

Returns the clipping region for the fragment.

Declaration

public ClipRegion getClip()

Returns

Type Description
ClipRegion

The clipping region for the fragment.

getLocation() Method

Returns the fragment location.

Declaration

public PointF getLocation()

Returns

Type Description
com.devexpress.system.drawing.PointF

The fragment location.

getRotationAngle() Method

Returns the fragment rotation angle.

Declaration

public double getRotationAngle()

Returns

Type Description
double

The fragment rotation angle, in degrees.

getScaleX() Method

Returns the horizontal scale factor.

Declaration

public double getScaleX()

Returns

Type Description
double

The horizontal scale factor.

getScaleY() Method

Returns the vertical scale factor.

Declaration

public double getScaleY()

Returns

Type Description
double

The vertical scale factor.

getSkewX() Method

Returns the horizontal skew angle.

Declaration

public double getSkewX()

Returns

Type Description
double

The horizontal skew angle.

getSkewY() Method

Returns the vertical skew angle.

Declaration

public double getSkewY()

Returns

Type Description
double

The vertical skew angle.

setClip(ClipRegion value) Method

Sets the clipping region for the fragment.

Declaration

public void setClip(ClipRegion value)

Parameters

Name Type Description
value ClipRegion

The clipping region for the fragment.

setLocation(PointF value) Method

Sets the fragment location.

Declaration

public void setLocation(PointF value)

Parameters

Name Type Description
value com.devexpress.system.drawing.PointF

The fragment location.

setRotationAngle(double value) Method

Sets the fragment rotation angle.

Declaration

public void setRotationAngle(double value)

Parameters

Name Type Description
value double

The fragment rotation angle, in degrees.

setScaleX(double value) Method

Sets the horizontal scale factor.

Declaration

public void setScaleX(double value)

Parameters

Name Type Description
value double

The horizontal scale factor.

setScaleY(double value) Method

Sets the vertical scale factor.

Declaration

public void setScaleY(double value)

Parameters

Name Type Description
value double

The vertical scale factor.

setSkewX(double value) Method

Sets the horizontal skew angle.

Declaration

public void setSkewX(double value)

Parameters

Name Type Description
value double

The horizontal skew angle.

setSkewY(double value) Method

Sets the vertical skew angle.

Declaration

public void setSkewY(double value)

Parameters

Name Type Description
value double

The vertical skew angle.