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
Methods
Alloc()
[Version("1.0")]
public static Quad Alloc()
Returns
Contains(Point)
[Version("1.0")]
public bool Contains(Point p)
Parameters
p
Point
Returns
Equals(Quad?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Quad? other)
Parameters
other
QuadAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.0")]
public void Free()
GetGType()
public static Type GetGType()
Returns
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
Init(Point, Point, Point, Point)
[Version("1.0")]
public Quad Init(Point p1, Point p2, Point p3, Point p4)
Parameters
Returns
InitFromRect(Rect)
[Version("1.0")]
public Quad InitFromRect(Rect r)
Parameters
r
Rect