Table of Contents

Class TriangleNode

Namespace
Fantas
Assembly
Fantas.dll

Triangle Node

public class TriangleNode : ShapeNode
Inheritance
TriangleNode
Inherited Members
Extension Methods

Constructors

TriangleNode(TriangleNode)

Copy the triangle node

public TriangleNode(TriangleNode other)

Parameters

other TriangleNode

TriangleNode(PointF, PointF, PointF)

Create a triangle node

public TriangleNode(PointF pointA, PointF pointB, PointF pointC)

Parameters

pointA PointF
pointB PointF
pointC PointF

TriangleNode(PointF[])

Create the triangle node

public TriangleNode(PointF[] points)

Parameters

points PointF[]

Properties

PointA

Triangle point A

public PointF PointA { get; }

Property Value

PointF

PointB

Triangle point B

public PointF PointB { get; }

Property Value

PointF

PointC

Triangle point C

public PointF PointC { get; }

Property Value

PointF

Points

Triangle points

public PointF[] Points { get; set; }

Property Value

PointF[]

Methods

Copy()

Copy node

protected override Node Copy()

Returns

Node