Table of Contents

Class Quad

Namespace
Graphene
Assembly
Graphene-1.0.dll
public sealed class Quad : BoxedRecord, IEquatable<Quad>
Inheritance
Quad
Implements
Inherited Members

Constructors

Quad()

public Quad()

Quad(QuadOwnedHandle)

public Quad(QuadOwnedHandle handle)

Parameters

handle QuadOwnedHandle

Properties

Handle

public QuadOwnedHandle Handle { get; }

Property Value

QuadOwnedHandle

Methods

Alloc()

[Version("1.0")]
public static Quad Alloc()

Returns

Quad

Contains(Point)

[Version("1.0")]
public bool Contains(Point p)

Parameters

p Point

Returns

bool

Equals(Quad?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Quad? other)

Parameters

other Quad

An object to compare with this object.

Returns

bool

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

Equals(object?)

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

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

Free()

[Version("1.0")]
public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetPoint(uint)

[Version("1.0")]
public Point GetPoint(uint index)

Parameters

index uint

Returns

Point

Init(Point, Point, Point, Point)

[Version("1.0")]
public Quad Init(Point p1, Point p2, Point p3, Point p4)

Parameters

p1 Point
p2 Point
p3 Point
p4 Point

Returns

Quad

InitFromRect(Rect)

[Version("1.0")]
public Quad InitFromRect(Rect r)

Parameters

r Rect

Returns

Quad