Editar

Compartir a través de


SKPoint3 Struct

Definition

Represents an ordered pair of floating-point x-, y- and z-coordinates that defines a point in a three-dimensional plane.

public struct SKPoint3
public struct SKPoint3 : IEquatable<SkiaSharp.SKPoint3>
Inheritance
SKPoint3
Implements

Constructors

SKPoint3(Single, Single, Single)

Creates a new instance of a 3D point with the specified coordinates.

Fields

Empty

Represents a new instance of the SKPoint3 class with member data left uninitialized.

Properties

IsEmpty

Gets a value indicating whether this SKPoint3 is empty.

X

Gets or sets the x-coordinate of this SKPoint3.

Y

Gets or sets the y-coordinate of this SKPoint3.

Z

Gets or sets the z-coordinate of this SKPoint3.

Methods

Add(SKPoint3, SKPoint3)

Translates a given point by a specified offset.

Equals(Object)

Specifies whether this SKPoint3 contains the same coordinates as the specified Object.

Equals(SKPoint3)

Specifies whether this SKPoint3 contains the same coordinates as the specified SKPoint3.

GetHashCode()

Calculates the hashcode for this point.

Subtract(SKPoint3, SKPoint3)

Translates a given point by the negative of a specified offset.

ToString()

Converts this SKPoint3 to a human readable string.

Operators

Addition(SKPoint3, SKPoint3)

Translates a given point by a specified offset.

Equality(SKPoint3, SKPoint3)

Compares two SKPoint3 structures. The result specifies whether the values of the X and Y properties of the two SKPoint3 structures are equal.

Inequality(SKPoint3, SKPoint3)

Determines whether the coordinates of the specified points are not equal.

Subtraction(SKPoint3, SKPoint3)

Translates a given point by the negative of a specified offset.

Applies to