Skip to main content

PathArc Class

Defines an arc (a path segment).

Declaration

public final class PathArc extends Struct<PathArc> implements IPathSegment, IEquatable<PathArc>

Implements

com.devexpress.system.IEquatable<com.devexpress.docs.presentation.PathArc>

Inherited Members

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

Inheritance

Object
com.devexpress.system.Struct
PathArc

Constructors

PathArc() Constructor

Initializes a new instance of the PathArc class.

Declaration

public PathArc()

PathArc(AdjustCoordinate widthRadius, AdjustCoordinate heightRadius, AdjustAngle startAngle, AdjustAngle swingAngle) Constructor

Initializes a new instance of the PathArc class with specified settings.

Declaration

public PathArc(AdjustCoordinate widthRadius, AdjustCoordinate heightRadius, AdjustAngle startAngle, AdjustAngle swingAngle)

Parameters

Name Type Description
widthRadius AdjustCoordinate

The width radius of the arc.

heightRadius AdjustCoordinate

The height radius of the arc.

startAngle AdjustAngle

The start angle of the arc.

swingAngle AdjustAngle

The swing angle of the arc.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to the current PathArc object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

An object to compare with the current PathArc instance.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

equals(PathArc other) Method

Determines whether the specified object is equal to the current PathArc object.

Declaration

public boolean equals(PathArc other)

Parameters

Name Type Description
other PathArc

An object to compare with the current PathArc instance.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

getHeightRadius() Method

Gets the vertical radius of the oval that contains the arc.

Declaration

public AdjustCoordinate getHeightRadius()

Returns

Type Description
AdjustCoordinate

The height radius of the oval that contains the arc.

Remarks

An arc is as an oval’s section. The HeightRadius value determines the oval’s vertical radius.

getStartAngle() Method

Returns the start angle of the arc.

Declaration

public AdjustAngle getStartAngle()

Returns

Type Description
AdjustAngle

The start angle of the arc, in degrees.

Remarks

An arc is as an oval’s section. The StartAngle value determines the location on the oval where the art starts.

getSwingAngle() Method

Gets the swing angle of the arc.

Declaration

public AdjustAngle getSwingAngle()

Returns

Type Description
AdjustAngle

The swing angle of the arc, in degrees.

Remarks

The arc is an oval’s section. The SwingAngle value determines how much of the oval the arc uses. 360 degrees is the full oval. The angle is measured clockwise from StartAngle.

getWidthRadius() Method

Gets the horizontal radius of the oval that contains the arc.

Declaration

public AdjustCoordinate getWidthRadius()

Returns

Type Description
AdjustCoordinate

The width radius of the oval that contains the arc.

Remarks

An arc is as an oval’s section. The WidthRadius value determines the oval’s horizontal radius.

hashCode() Method

Returns a hash code for this PathArc object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.