C# Класс System.Drawing.Region

Наследование: MarshalByRefObject, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Dispose void
GetBounds RectangleF
IntPointToPointF PointF
PathToPointFArray PointF[]
PathsToInternalPath void
PlotPath void
PointFArrayToIntArray Android.Graphics.Path
RectangleToPath Android.Graphics.Path
TransformIntPoint void
calculateRegionPath void

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

Метод Описание
Clone ( ) : Region
Dispose ( ) : void
Equals ( Region region, Graphics g ) : bool
Exclude ( GraphicsPath path ) : void

Updates this Region to contain only the portion of its interior that does not intersect with the specified GraphicsPath.

Exclude ( Rectangle rect ) : void

Updates this Region to contain only the portion of its interior that does not intersect with the specified Rectangle structure.

Exclude ( RectangleF rect ) : void

Updates this Region to contain only the portion of its interior that does not intersect with the specified RectangleF structure.

Exclude ( Region region ) : void

Updates this Region to contain only the portion of its interior that does not intersect with the specified Region.

GetBounds ( Graphics g ) : RectangleF
Intersect ( GraphicsPath path ) : void

Updates this Region to the intersection of itself with the specified GraphicsPath.

Intersect ( Rectangle rect ) : void

Updates this Region to the intersection of itself with the specified Rectangle structure.

Intersect ( RectangleF rect ) : void

Updates this Region to the intersection of itself with the specified RectangleF structure.

Intersect ( Region region ) : void

Updates this Region to the intersection of itself with the specified Region.

IsVisible ( Point point ) : bool
IsVisible ( PointF point ) : bool
IsVisible ( Rectangle rectangle ) : bool
IsVisible ( RectangleF rectangle ) : bool
IsVisible ( float x, float y ) : bool
IsVisible ( int x, int y ) : bool
MakeEmpty ( ) : void
MakeInfinite ( ) : void
Region ( ) : CoreGraphics
Region ( GraphicsPath path ) : CoreGraphics
Region ( Rectangle rect ) : CoreGraphics
Region ( RectangleF rect ) : CoreGraphics
Transform ( Matrix matrix ) : void
Translate ( float dx, float dy ) : void
Translate ( int dx, int dy ) : void
Union ( GraphicsPath path ) : void

Updates this Region to the union of itself and the specified GraphicsPath.

Union ( Rectangle rect ) : void

Updates this Region to the union of itself and the specified Rectangle structure.

Union ( RectangleF rect ) : void

Updates this Region to the union of itself and the specified RectangleF structure.

Union ( Region region ) : void

Updates this Region to the union of itself and the specified Region.

Xor ( GraphicsPath path ) : void

Updates this Region to the union minus the intersection of itself with the specified GraphicsPath.

Xor ( Rectangle rect ) : void

Updates this Region to the union minus the intersection of itself with the specified Rectangle structure.

Xor ( RectangleF rect ) : void

Updates this Region to the union minus the intersection of itself with the specified RectangleF structure.

Xor ( Region region ) : void

Updates this Region to the union minus the intersection of itself with the specified Region.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
GetBounds ( ) : RectangleF
IntPointToPointF ( IntPoint point ) : PointF
PathToPointFArray ( Android.Graphics.Path pg, float scale ) : PointF[]
PathsToInternalPath ( Paths paths ) : void
PlotPath ( GraphicsPath path ) : void
PointFArrayToIntArray ( PointF points, float scale ) : Android.Graphics.Path
RectangleToPath ( RectangleF rect ) : Android.Graphics.Path
TransformIntPoint ( IntPoint &point, Matrix matrix ) : void

Transform the specified Rectangle by the matrix that is passed.

calculateRegionPath ( ClipType clipType ) : void

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

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

public Clone ( ) : Region
Результат Region

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

public Dispose ( ) : void
Результат void

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

public Equals ( Region region, Graphics g ) : bool
region Region
g Graphics
Результат bool

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

Updates this Region to contain only the portion of its interior that does not intersect with the specified GraphicsPath.
public Exclude ( GraphicsPath path ) : void
path System.Drawing.Drawing2D.GraphicsPath Path.
Результат void

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

Updates this Region to contain only the portion of its interior that does not intersect with the specified Rectangle structure.
public Exclude ( Rectangle rect ) : void
rect Rectangle Rect.
Результат void

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

Updates this Region to contain only the portion of its interior that does not intersect with the specified RectangleF structure.
public Exclude ( RectangleF rect ) : void
rect RectangleF Rect.
Результат void

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

Updates this Region to contain only the portion of its interior that does not intersect with the specified Region.
public Exclude ( Region region ) : void
region Region Region.
Результат void

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

public GetBounds ( Graphics g ) : RectangleF
g Graphics
Результат RectangleF

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

Updates this Region to the intersection of itself with the specified GraphicsPath.
public Intersect ( GraphicsPath path ) : void
path System.Drawing.Drawing2D.GraphicsPath Path.
Результат void

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

Updates this Region to the intersection of itself with the specified Rectangle structure.
public Intersect ( Rectangle rect ) : void
rect Rectangle Rect.
Результат void

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

Updates this Region to the intersection of itself with the specified RectangleF structure.
public Intersect ( RectangleF rect ) : void
rect RectangleF Rect.
Результат void

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

Updates this Region to the intersection of itself with the specified Region.
public Intersect ( Region region ) : void
region Region Region.
Результат void

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

public IsVisible ( Point point ) : bool
point Point
Результат bool

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

public IsVisible ( PointF point ) : bool
point PointF
Результат bool

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

public IsVisible ( Rectangle rectangle ) : bool
rectangle Rectangle
Результат bool

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

public IsVisible ( RectangleF rectangle ) : bool
rectangle RectangleF
Результат bool

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

public IsVisible ( float x, float y ) : bool
x float
y float
Результат bool

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

public IsVisible ( int x, int y ) : bool
x int
y int
Результат bool

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

public MakeEmpty ( ) : void
Результат void

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

public MakeInfinite ( ) : void
Результат void

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

public Region ( ) : CoreGraphics
Результат CoreGraphics

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

public Region ( GraphicsPath path ) : CoreGraphics
path System.Drawing.Drawing2D.GraphicsPath
Результат CoreGraphics

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

public Region ( Rectangle rect ) : CoreGraphics
rect Rectangle
Результат CoreGraphics

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

public Region ( RectangleF rect ) : CoreGraphics
rect RectangleF
Результат CoreGraphics

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

public Transform ( Matrix matrix ) : void
matrix Matrix
Результат void

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

public Translate ( float dx, float dy ) : void
dx float
dy float
Результат void

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

public Translate ( int dx, int dy ) : void
dx int
dy int
Результат void

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

Updates this Region to the union of itself and the specified GraphicsPath.
public Union ( GraphicsPath path ) : void
path System.Drawing.Drawing2D.GraphicsPath Path.
Результат void

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

Updates this Region to the union of itself and the specified Rectangle structure.
public Union ( Rectangle rect ) : void
rect Rectangle Rect.
Результат void

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

Updates this Region to the union of itself and the specified RectangleF structure.
public Union ( RectangleF rect ) : void
rect RectangleF Rect.
Результат void

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

Updates this Region to the union of itself and the specified Region.
public Union ( Region region ) : void
region Region Region.
Результат void

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

Updates this Region to the union minus the intersection of itself with the specified GraphicsPath.
public Xor ( GraphicsPath path ) : void
path System.Drawing.Drawing2D.GraphicsPath Path.
Результат void

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

Updates this Region to the union minus the intersection of itself with the specified Rectangle structure.
public Xor ( Rectangle rect ) : void
rect Rectangle Rect.
Результат void

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

Updates this Region to the union minus the intersection of itself with the specified RectangleF structure.
public Xor ( RectangleF rect ) : void
rect RectangleF Rect.
Результат void

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

Updates this Region to the union minus the intersection of itself with the specified Region.
public Xor ( Region region ) : void
region Region Region.
Результат void