This documentation is for the old version. Go to the latest Graphics Mill docs

Rational Constructor (Int32, Int32)

Creates new Rational instance with specified dividend and divider.

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

Syntax

Visual Basic
Public Sub New ( _
	dividend As Integer, _
	divider As Integer _
)
C#
public Rational(
	int dividend,
	int divider
)

Parameters

dividend

Type: System.Int32

Value that specifies 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

Value that specifies 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