Rational Constructor (Int32, Int32)

Initializes a new instance of the Rational class with the specified dividend and divider.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public Rational(
	int dividend,
	int divider
)

Parameters

dividend

Type: System..Int32

The dividend of the rational number (i.e. if represent rational number as p/q, dividend is p). You can change it later using Dividend property.
divider

Type: System..Int32

The divider of the rational number (i.e. if represent rational number as p/q, divider is q). You can change it later using Divider property.

See Also

Reference