Class Region

Class Region

名称: Aspose.Imaging アセンション: Aspose.Imaging.dll (25.4.0)

直角と道で構成されたグラフィック形状の内部を説明します このクラスは相続できない。

[JsonObject(MemberSerialization.OptIn)]
public sealed class Region

Inheritance

object Region

相続人

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Region()

新しい Aspose.Imaging.Region を開始します。

public Region()

Region(レクトンゲル)

新しい Aspose.Imaging.Region を指定した Aspose.Imaging.RectangleF 構造から開始します。

public Region(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF 構造は、新しい Aspose.Imaging.Region の内部を定義します。

Region(Rectangle)

新しい Aspose.Imaging.Region を指定した Aspose.Imaging.Rectangle 構造から開始します。

public Region(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、新しい Aspose.Imaging.Region の内部を定義します。

Region(GraphicsPath)

新しい Aspose.Imaging.Region を指定した Aspose.Imaging.GraphicsPath で開始します。

public Region(GraphicsPath path)

Parameters

path GraphicsPath

Aspose.Imaging.GraphicsPath は、新しい Aspose.Imaging.Region を定義します。

Exceptions

ArgumentNullException

path’ is null.

Methods

Complement(レクトンゲル)

この Aspose.Imaging.Region を更新して、この Aspose.Imaging.Region と交差しない指定された Aspose.Imaging.RectangleF 構造の部分を含みます。

public void Complement(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF 構造は、この Aspose.Imaging.Region を補完します。

Complement(Rectangle)

この Aspose.Imaging.Region を更新して、この Aspose.Imaging.Region と交差しない指定された Aspose.Imaging.Rectangle 構造の部分を含みます。

public void Complement(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、この Aspose.Imaging.Region を補完します。

Complement(GraphicsPath)

この Aspose.Imaging.Region を更新して、この Aspose.Imaging.Region と交差しない指定された Aspose.Imaging.GraphicsPath の部分を含みます。

public void Complement(GraphicsPath path)

Parameters

path GraphicsPath

Aspose.Imaging.GraphicsPath は、この Aspose.Imaging.Region を補完します。

Exceptions

ArgumentNullException

path’ isnull.

Complement(Region)

この Aspose.Imaging.Region を更新して、この Aspose.Imaging.Region と交差しない指定された Aspose.Imaging.Region の部分を含みます。

public void Complement(Region region)

Parameters

region Region

Aspose.Imaging.Region は、この Aspose.Imaging.Region オブジェクトを補完することに反対します。

Exceptions

ArgumentNullException

region’ isnull.

DeepClone()

この Aspose.Imaging.Region の正確な深いコピーを作成します。

public Region DeepClone()

Returns

Region

Aspose.Imaging.Region この方法が作り出す地域です。

Equals(対象)

物体が平等であるかどうかを確認する。

public override bool Equals(object obj)

Parameters

obj object

他のオブジェクト

Returns

bool

平等比較の結果

Equals(地域、グラフィック)

指定された Aspose.Imaging.Region が指定された図面上の Aspose.Imaging.Region と同じかどうかをテストします。

public bool Equals(Region region, Graphics g)

Parameters

region Region

Aspose.Imaging.Region をテストする

g Graphics

A Aspose.Imaging.Graphics that represents a drawing surface. 描く表面を表すグラフィック。

Returns

bool

地域の内部がこの地域の内部と同一である場合、 g’ パラメーターに関連する変換が適用され、そうでなければ、偽りです。

Exceptions

ArgumentNullException

g ‘or region’ is null.

Exclude(レクトンゲル)

この Aspose.Imaging.Region を更新して、指定された Aspose.Imaging.RectangleF 構造と交差しない内部の部分のみを含みます。

public void Exclude(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF の構造は、この Aspose.Imaging.Region から排除されます。

Exclude(Rectangle)

この Aspose.Imaging.Region を更新して、指定された Aspose.Imaging.Rectangle 構造と交差しない内部の部分のみを含みます。

public void Exclude(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、この Aspose.Imaging.Region から排除されます。

Exclude(GraphicsPath)

この Aspose.Imaging.Region を更新して、指定された Aspose.Imaging.GraphicsPath と交差しない内部の部分のみを含みます。

public void Exclude(GraphicsPath path)

Parameters

path GraphicsPath

この Aspose.Imaging.GraphicsPath は、この Aspose.Imaging.Region から除外します。

Exceptions

ArgumentNullException

path’ is null.

Exclude(Region)

この Aspose.Imaging.Region を更新して、指定された Aspose.Imaging.Region と交差しない内部の部分のみを含みます。

public void Exclude(Region region)

Parameters

region Region

Aspose.Imaging.Region は、この Aspose.Imaging.Region から除外します。

Exceptions

ArgumentNullException

region’ is null.

GetHashCode()

現在のオブジェクトのハッシュコードを取得します。

public override int GetHashCode()

Returns

int

ハッシュコード

Intersect(レクトンゲル)

この Aspose.Imaging.Region を、指定された Aspose.Imaging.RectangleF 構造で自分自身の交差点に更新します。

public void Intersect(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF 構造は、この Aspose.Imaging.Region と交差します。

Intersect(Rectangle)

この Aspose.Imaging.Region を、指定された Aspose.Imaging.Rectangle 構造で自分自身の交差点に更新します。

public void Intersect(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、この Aspose.Imaging.Region と交差します。

Intersect(GraphicsPath)

この Aspose.Imaging.Region を指定した Aspose.Imaging.GraphicsPath で自分自身の交差点に更新します。

public void Intersect(GraphicsPath path)

Parameters

path GraphicsPath

この Aspose.Imaging.GraphicsPath は、この Aspose.Imaging.Region と接続します。

Intersect(Region)

この Aspose.Imaging.Region を指定した Aspose.Imaging.Region との交差点に更新します。

public void Intersect(Region region)

Parameters

region Region

Aspose.Imaging.Region は、この Aspose.Imaging.Region と接続します。

IsEmpty(Graphics)

この Aspose.Imaging.Region が指定された図面に空っぽのインテリアを持っているかどうかをテストします。

public bool IsEmpty(Graphics g)

Parameters

g Graphics

A Aspose.Imaging.Graphics that represents a drawing surface. 描く表面を表すグラフィック。

Returns

bool

この Aspose.Imaging.Region の内部が空いている場合、 g’ に関連する変換が適用されます。

Exceptions

ArgumentNullException

g’ is null.

IsInfinite(Graphics)

この Aspose.Imaging.Region が指定されたデザイン表面に無限のインテリアを持っているかどうかをテストします。

public bool IsInfinite(Graphics g)

Parameters

g Graphics

A Aspose.Imaging.Graphics that represents a drawing surface. 描く表面を表すグラフィック。

Returns

bool

この Aspose.Imaging.Region の内部が無限である場合、 g’ に関連する変換が適用されます。

Exceptions

ArgumentNullException

g’ is null.

IsVisible(フロア、フロア)

この Aspose.Imaging.Region に指定されたポイントが含まれているかどうかをテストします。

public bool IsVisible(float x, float y)

Parameters

x float

テストする点のXコーディネート。

y float

テストする点のYコーディネート

Returns

bool

本当に、指定されたポイントがこの Aspose.Imaging.Region に含まれている場合; そうでなければ、偽物です。

IsVisible(ポイントF)

特定の Aspose.Imaging.PointF 構造がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(PointF point)

Parameters

point PointF

Aspose.Imaging.PointF の構造をテストします。

Returns

bool

point’ がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

IsVisible(フラット、フラット、グラフィック)

この Aspose.Imaging.Region に指定された点が含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics を使用して引き出されます。

public bool IsVisible(float x, float y, Graphics g)

Parameters

x float

テストする点のXコーディネート。

y float

テストする点のYコーディネート

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

本当に、指定されたポイントがこの Aspose.Imaging.Region に含まれている場合; そうでなければ、偽物です。

IsVisible(ポイントF、グラフィック)

指定された Aspose.Imaging.PointF 構造がこの Aspose.Imaging.Region に含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics を使用して引き出されます。

public bool IsVisible(PointF point, Graphics g)

Parameters

point PointF

Aspose.Imaging.PointF の構造をテストします。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

point’ がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

IsVisible(フラット、フラット、フラット)

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(float x, float y, float width, float height)

Parameters

x float

正角の左上角のXコーディネートをテストします。

y float

直角の左上角のYコーディネートをテストする。

width float

テストする直角の幅。

height float

テストする直角の高さ。

Returns

bool

指定された直角のいずれかの部分がこの Aspose.Imaging.Region オブジェクト内に含まれている場合の真実; そうでなければ、偽物。

IsVisible(レクトンゲル)

特定の Aspose.Imaging.RectangleF 構造のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF の構造をテストします。

Returns

bool

<コードクラス=“paramref”>rect’ のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合、真実です。

IsVisible(フラット、フラット、フラット、グラフィック)

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics を使用して引き出されます。

public bool IsVisible(float x, float y, float width, float height, Graphics g)

Parameters

x float

正角の左上角のXコーディネートをテストします。

y float

直角の左上角のYコーディネートをテストする。

width float

テストする直角の幅。

height float

テストする直角の高さ。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物。

IsVisible(RectangleF、グラフィック)

特定の Aspose.Imaging.RectangleF 構造のいずれかの部分が、特定の Aspose.Imaging.Graphics を使用して引き出された場合、この Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(RectangleF rect, Graphics g)

Parameters

rect RectangleF

Aspose.Imaging.RectangleF の構造をテストします。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

rect’ がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

IsVisible(int、int、グラフィック)

この Aspose.Imaging.Region オブジェクトに指定されたポイントが含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics オブジェクトを使用して引き出されます。

public bool IsVisible(int x, int y, Graphics g)

Parameters

x int

テストする点のXコーディネート。

y int

テストする点のYコーディネート

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

特定のポイントがこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽り。

IsVisible(Point)

指定された Aspose.Imaging.Point 構造がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(Point point)

Parameters

point Point

Aspose.Imaging.Point の構造をテストします。

Returns

bool

point’ がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

IsVisible(ポイント、グラフィック)

指定された Aspose.Imaging.Point 構造がこの Aspose.Imaging.Region に含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics を使用して引き出されます。

public bool IsVisible(Point point, Graphics g)

Parameters

point Point

Aspose.Imaging.Point の構造をテストします。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

point’ がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

IsVisible(int、 int、 int、 int、 int)

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(int x, int y, int width, int height)

Parameters

x int

正角の左上角のXコーディネートをテストします。

y int

直角の左上角のYコーディネートをテストする。

width int

テストする直角の幅。

height int

テストする直角の高さ。

Returns

bool

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物。

IsVisible(Rectangle)

特定の Aspose.Imaging.Rectangle 構造のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造をテストします。

Returns

bool

この方法は、 rect’ のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合に真実に戻ります。

IsVisible(int, int, int, int, グラフィック)

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれているかどうかをテストすると、指定された Aspose.Imaging.Graphics を使用して引き出されます。

public bool IsVisible(int x, int y, int width, int height, Graphics g)

Parameters

x int

正角の左上角のXコーディネートをテストします。

y int

直角の左上角のYコーディネートをテストする。

width int

テストする直角の幅。

height int

テストする直角の高さ。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

指定された直角のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物。

IsVisible(グラフィック、グラフィック)

特定の Aspose.Imaging.Rectangle 構造のいずれかの部分が、特定の Aspose.Imaging.Graphics を使用して引き出された場合、この Aspose.Imaging.Region に含まれているかどうかをテストします。

public bool IsVisible(Rectangle rect, Graphics g)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造をテストします。

g Graphics

Aspose.Imaging.Graphics は、グラフィックの文脈を表しています。

Returns

bool

<コードクラス=“paramref”>rect’ のいずれかの部分がこの Aspose.Imaging.Region に含まれている場合の真実; そうでなければ、偽物です。

MakeEmpty()

この Aspose.Imaging.Region を空っぽのインテリアに導入します。

public void MakeEmpty()

MakeInfinite()

この Aspose.Imaging.Region は、無限の内部に反対します。

public void MakeInfinite()

Transform(Matrix)

この Aspose.Imaging.Region を指定した Aspose.Imaging.Matrix によって変換します。

public void Transform(Matrix matrix)

Parameters

matrix Matrix

Aspose.Imaging.Matrix でこの Aspose.Imaging.Region を変換します。

Exceptions

ArgumentNullException

matrix’ is null.

Translate(フロア、フロア)

この Aspose.Imaging.Region のコーディネートを指定された金額で割り当てます。

public void Translate(float dx, float dy)

Parameters

dx float

この Aspose.Imaging.Region を横向きに補償する金額です。

dy float

この Aspose.Imaging.Region を垂直に補償する金額です。

Translate(int、 int)

この Aspose.Imaging.Region のコーディネートを指定された金額で割り当てます。

public void Translate(int dx, int dy)

Parameters

dx int

この Aspose.Imaging.Region を横向きに補償する金額です。

dy int

この Aspose.Imaging.Region を垂直に補償する金額です。

Union(レクトンゲル)

この Aspose.Imaging.Region を統合自体と指定された Aspose.Imaging.RectangleF 構造に更新します。

public void Union(RectangleF rect)

Parameters

rect RectangleF

Aspose.Imaging.RectangleFの構造は、この Aspose.Imaging.Regionと結びつく。

Union(Rectangle)

この Aspose.Imaging.Region を、それ自体の統合と指定された Aspose.Imaging.Rectangle 構造に更新します。

public void Union(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、この Aspose.Imaging.Region と結びつける。

Union(GraphicsPath)

この Aspose.Imaging.Region を、その統合と指定された Aspose.Imaging.GraphicsPath に更新します。

public void Union(GraphicsPath path)

Parameters

path GraphicsPath

Aspose.Imaging.GraphicsPath は、この Aspose.Imaging.Region に接続します。

Exceptions

ArgumentNullException

path’ is null.

Union(Region)

この Aspose.Imaging.Region を統合自体と指定された Aspose.Imaging.Region に更新します。

public void Union(Region region)

Parameters

region Region

Aspose.Imaging.Region は、この Aspose.Imaging.Region に接続します。

Exceptions

ArgumentNullException

region’ is null.

Xor(レクトンゲル)

この Aspose.Imaging.RectangleF 構造を指定した Aspose.Imaging.RectangleF 構造と共に、この Aspose.Imaging.RectangleF を統合に更新します。

public void Xor(RectangleF rect)

Parameters

rect RectangleF

この Aspose.Imaging.RectangleF 構造は、この Aspose.Imaging.Region で動作します。

Xor(Rectangle)

この Aspose.Imaging.Region を Union に更新し、指定された Aspose.Imaging.Rectangle 構造とそれ自体の交差点を減らす。

public void Xor(Rectangle rect)

Parameters

rect Rectangle

Aspose.Imaging.Rectangle の構造は、この Aspose.Imaging.Region で xor します。

Xor(GraphicsPath)

この Aspose.Imaging.Region を Union に更新し、指定された Aspose.Imaging.GraphicsPath でそれ自体の交差点を減らす。

public void Xor(GraphicsPath path)

Parameters

path GraphicsPath

The Aspose.Imaging.GraphicsPath to xor with this Aspose.Imaging.Region. この Aspose.Imaging.GraphicsPath to xor with this Aspose.Imaging.Region.

Exceptions

ArgumentNullException

path’ is null.

Xor(Region)

この Aspose.Imaging.Region を Union に更新し、指定された Aspose.Imaging.Region と自分自身の交差点を減らす。

public void Xor(Region region)

Parameters

region Region

この Aspose.Imaging.Region は、この Aspose.Imaging.Region を参照してください。

Exceptions

ArgumentNullException

region’ is null.

 日本語