EmfSetArcDirection

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfSetArcDirection extends EmfStateRecordType

The EMR_SETARCDIRECTION record specifies the drawing direction to be used for arc and rectangle output.

The EMR_SETARCDIRECTION record affects the direction in which the following records draw: - EMR_ARC (section 2.3.5.2) - EMR_ARCTO (section 2.3.5.3) - EMR_CHORD (section 2.3.5.4) - EMR_ELLIPSE (section 2.3.5.5) - EMR_PIE (section 2.3.5.15) - EMR_RECTANGLE (section 2.3.5.34) - EMR_ROUNDRECT (section 2.3.5.35)

Constructors

ConstructorDescription
EmfSetArcDirection(EmfRecord source)Initializes a new instance of the EmfSetArcDirection class.
EmfSetArcDirection()Initializes a new instance of the EmfSetArcDirection class.

Methods

MethodDescription
getArcDirection()Gets or sets a 32-bit unsigned integer that specifies the arc direction.
setArcDirection(int value)Gets or sets a 32-bit unsigned integer that specifies the arc direction.

EmfSetArcDirection(EmfRecord source)

public EmfSetArcDirection(EmfRecord source)

Initializes a new instance of the EmfSetArcDirection class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfSetArcDirection()

public EmfSetArcDirection()

Initializes a new instance of the EmfSetArcDirection class.

getArcDirection()

public int getArcDirection()

Gets or sets a 32-bit unsigned integer that specifies the arc direction. The value MUST be in the ArcDirection enumeration (section 2.1.2). The default direction is counterclockwise.

Returns: int

setArcDirection(int value)

public void setArcDirection(int value)

Gets or sets a 32-bit unsigned integer that specifies the arc direction. The value MUST be in the ArcDirection enumeration (section 2.1.2). The default direction is counterclockwise.

Parameters:

ParameterTypeDescription
valueint