C# Класс Evbpc.Framework.Drawing.PointF

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Empty PointF

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Add ( PointF pt, Size sz ) : PointF

Offsets a PointF by the specified Size.

Add ( PointF pt, SizeF sz ) : PointF

Offsets a PointF by the specified SizeF.

Equals ( object obj ) : bool

Determines if the current PointF is equal to the specified object.

GetHashCode ( ) : int

Gets a hash code for the current PointF.

PointF ( SizeF sz ) : System

Constructs a new instance of PointF from the specified SizeF.

The SizeF.Width will become the X and the SizeF.Height will become the Y.

PointF ( float x, float y ) : System

Constructs a new instance of PointF from the specified X and Y.

Subtract ( PointF pt, Size sz ) : PointF

Subtracts a PointF by a Size.

Subtract ( PointF pt, SizeF sz ) : PointF

Subtracts a PointF by a SizeF.

ToString ( ) : string

Gets a string representation of a PointF.

operator ( ) : PointF

Offsets a PointF object by the specified Size.

operator ( ) : bool

Determines if two PointF objects are equal.

Описание методов

Add() публичный статический Метод

Offsets a PointF by the specified Size.
public static Add ( PointF pt, Size sz ) : PointF
pt PointF The that should be offset.
sz Size The to offset by.
Результат PointF

Add() публичный статический Метод

Offsets a PointF by the specified SizeF.
public static Add ( PointF pt, SizeF sz ) : PointF
pt PointF The that should be offset.
sz SizeF The to offset by.
Результат PointF

Equals() публичный Метод

Determines if the current PointF is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object to compare to the current .
Результат bool

GetHashCode() публичный Метод

Gets a hash code for the current PointF.
public GetHashCode ( ) : int
Результат int

PointF() публичный Метод

Constructs a new instance of PointF from the specified SizeF.
The SizeF.Width will become the X and the SizeF.Height will become the Y.
public PointF ( SizeF sz ) : System
sz SizeF The to construct the from.
Результат System

PointF() публичный Метод

Constructs a new instance of PointF from the specified X and Y.
public PointF ( float x, float y ) : System
x float The value that should represent the .
y float The value that should represent the .
Результат System

Subtract() публичный статический Метод

Subtracts a PointF by a Size.
public static Subtract ( PointF pt, Size sz ) : PointF
pt PointF The to be subtracted from.
sz Size The to subtract.
Результат PointF

Subtract() публичный статический Метод

Subtracts a PointF by a SizeF.
public static Subtract ( PointF pt, SizeF sz ) : PointF
pt PointF The to be subtracted from.
sz SizeF The to subtract.
Результат PointF

ToString() публичный Метод

Gets a string representation of a PointF.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Offsets a PointF object by the specified Size.
public static operator ( ) : PointF
Результат PointF

operator() публичный статический Метод

Determines if two PointF objects are equal.
public static operator ( ) : bool
Результат bool

Описание свойств

Empty публичное статическое свойство

Represents a PointF with default values.
public static PointF,Evbpc.Framework.Drawing Empty
Результат PointF