C# Class NewTOAPIA.Drawing.GDI.GDIRegion

Inheritance: GDIObject
ファイルを表示 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Add ( GDIRegion aRegion ) : GDIRegion
Clear ( ) : void

Clear the region to a null region.

Combine ( GDIRegion aRegion, GDIRegion bRegion, RegionCombineStyles combineStyle ) : RegionCombineType
Contains ( int x, int y ) : bool
CreateFromPath ( GPath aPath, System.Guid uniqueID ) : GDIRegion
CreateFromPolygon ( Point2I points, PolygonFillMode aMode, System.Guid uniqueID ) : GDIRegion
CreateFromRectangle ( int left, int top, int right, int bottom, System.Guid uniqueID ) : GDIRegion
CreateFromRectangles ( RectangleI rects, System.Guid uniqueID ) : GDIRegion
Equals ( GDIRegion aRegion ) : bool
GDIRegion ( IntPtr regionHandle, bool ownsHandle ) : System
GDIRegion ( IntPtr regionHandle, bool ownsHandle, System.Guid uniqueID ) : System
GetFrame ( ) : RectangleI
GetRectangles ( ) : RectangleI[]
Intersect ( GDIRegion aRegion ) : GDIRegion
MoveBy ( int dx, int dy ) : void
Subtract ( GDIRegion aRegion ) : GDIRegion

Method Details

Add() public method

public Add ( GDIRegion aRegion ) : GDIRegion
aRegion GDIRegion
return GDIRegion

Clear() public method

Clear the region to a null region.
public Clear ( ) : void
return void

Combine() public method

public Combine ( GDIRegion aRegion, GDIRegion bRegion, RegionCombineStyles combineStyle ) : RegionCombineType
aRegion GDIRegion
bRegion GDIRegion
combineStyle RegionCombineStyles
return RegionCombineType

Contains() public method

public Contains ( int x, int y ) : bool
x int
y int
return bool

CreateFromPath() public static method

public static CreateFromPath ( GPath aPath, System.Guid uniqueID ) : GDIRegion
aPath GPath
uniqueID System.Guid
return GDIRegion

CreateFromPolygon() public static method

public static CreateFromPolygon ( Point2I points, PolygonFillMode aMode, System.Guid uniqueID ) : GDIRegion
points NewTOAPIA.Graphics.Point2I
aMode PolygonFillMode
uniqueID System.Guid
return GDIRegion

CreateFromRectangle() public static method

public static CreateFromRectangle ( int left, int top, int right, int bottom, System.Guid uniqueID ) : GDIRegion
left int
top int
right int
bottom int
uniqueID System.Guid
return GDIRegion

CreateFromRectangles() public static method

public static CreateFromRectangles ( RectangleI rects, System.Guid uniqueID ) : GDIRegion
rects RectangleI
uniqueID System.Guid
return GDIRegion

Equals() public method

public Equals ( GDIRegion aRegion ) : bool
aRegion GDIRegion
return bool

GDIRegion() public method

public GDIRegion ( IntPtr regionHandle, bool ownsHandle ) : System
regionHandle System.IntPtr
ownsHandle bool
return System

GDIRegion() public method

public GDIRegion ( IntPtr regionHandle, bool ownsHandle, System.Guid uniqueID ) : System
regionHandle System.IntPtr
ownsHandle bool
uniqueID System.Guid
return System

GetFrame() public method

public GetFrame ( ) : RectangleI
return RectangleI

GetRectangles() public method

public GetRectangles ( ) : RectangleI[]
return RectangleI[]

Intersect() public method

public Intersect ( GDIRegion aRegion ) : GDIRegion
aRegion GDIRegion
return GDIRegion

MoveBy() public method

public MoveBy ( int dx, int dy ) : void
dx int
dy int
return void

Subtract() public method

public Subtract ( GDIRegion aRegion ) : GDIRegion
aRegion GDIRegion
return GDIRegion