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

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

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

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

Private Properties

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

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

Метод Описание
Add ( SizeF sz1, SizeF sz2 ) : SizeF

Adds two SizeF structures together and returns the result.

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Gets a hash code for the current SizeF.

SizeF ( PointF pt ) : System

Constructs a new instance of SizeF from the specified PointF.

The PointF.X will become the Width and the PointF.Y will be the Height.

SizeF ( float width, float height ) : System

Constructs a new instance of SizeF from the specified Width and Height.

Subtract ( SizeF sz1, SizeF sz2 ) : SizeF

Subtracts a SizeF by another SizeF.

ToString ( ) : string

Gets a string representation of the current SizeF.

operator ( ) : SizeF

Adds two SizeF structures together and returns the result.

operator ( ) : bool

Determines if two SizeF structures are equal.

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

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

Adds two SizeF structures together and returns the result.
public static Add ( SizeF sz1, SizeF sz2 ) : SizeF
sz1 SizeF The first to add.
sz2 SizeF The second to add.
Результат SizeF

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

Determines if the current SizeF 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 SizeF.
public GetHashCode ( ) : int
Результат int

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

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

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

Constructs a new instance of SizeF from the specified Width and Height.
public SizeF ( float width, float height ) : System
width float The value that should represent the .
height float The value that should represent the .
Результат System

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

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

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

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

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

Adds two SizeF structures together and returns the result.
public static operator ( ) : SizeF
Результат SizeF

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

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

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

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

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