Class Point
Inheritance
System.Object
Point
Assembly: Syncfusion.Compression.Portable.dll
Syntax
public sealed class Point : ValueType
Constructors
Point(Size)
Declaration
Parameters
Type |
Name |
Description |
Size |
sz |
|
Point(Int32)
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
dw |
|
Point(Int32, Int32)
Declaration
public Point(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Fields
Empty
Declaration
public static readonly Point Empty
Field Value
Properties
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
X
Declaration
public int X { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Y
Declaration
public int Y { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Add(Point, Size)
Declaration
public static Point Add(Point pt, Size sz)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Offset(Point)
Declaration
public void Offset(Point p)
Parameters
Type |
Name |
Description |
Point |
p |
|
Offset(Int32, Int32)
Declaration
public void Offset(int dx, int dy)
Parameters
Type |
Name |
Description |
System.Int32 |
dx |
|
System.Int32 |
dy |
|
Subtract(Point, Size)
Declaration
public static Point Subtract(Point pt, Size sz)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Addition(Point, Size)
Declaration
public static Point operator +(Point pt, Size sz)
Parameters
Returns
Equality(Point, Point)
Declaration
public static bool operator ==(Point left, Point right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit(Point to Size)
Declaration
public static explicit operator Size(Point p)
Parameters
Type |
Name |
Description |
Point |
p |
|
Returns
Implicit(PointF to Point)
Declaration
public static implicit operator Point(PointF point)
Parameters
Type |
Name |
Description |
PointF |
point |
|
Returns
Inequality(Point, Point)
Declaration
public static bool operator !=(Point left, Point right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Subtraction(Point, Size)
Declaration
public static Point operator -(Point pt, Size sz)
Parameters
Returns