Class GraphicsPath

Class GraphicsPath

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

結びついた線と曲線の連続を表します このクラスは相続できません。

[JsonObject(MemberSerialization.OptIn)]
public sealed class GraphicsPath : ObjectWithBounds

Inheritance

object ObjectWithBounds GraphicsPath

相続人

ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Bounds , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

これらの例は、グラフィックパスとグラフィッククラスを使用して画像表面上の数字を作成し、操作します。 例は、新しい画像(タイプのティフ)を作成し、表面をクリアし、グラフィックパスクラスの助けを借りてルートを引き出します。

//Create an instance of FileStream
                                                                                                                                                                                                                                                                                                                                             using (System.IO.FileStream stream = new System.IO.FileStream(@"C:\temp\output.tiff", System.IO.FileMode.Create))
                                                                                                                                                                                                                                                                                                                                             {
                                                                                                                                                                                                                                                                                                                                                 //Create an instance of TiffOptions and set its various properties
                                                                                                                                                                                                                                                                                                                                                 Aspose.Imaging.ImageOptions.TiffOptions tiffOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);

                                                                                                                                                                                                                                                                                                                                                 //Set the source for the instance of ImageOptions
                                                                                                                                                                                                                                                                                                                                                 tiffOptions.Source = new Aspose.Imaging.Sources.StreamSource(stream);

                                                                                                                                                                                                                                                                                                                                                 //Create an instance of Image 
                                                                                                                                                                                                                                                                                                                                                 using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Create(tiffOptions, 500, 500))
                                                                                                                                                                                                                                                                                                                                                 {
                                                                                                                                                                                                                                                                                                                                                     //Create and initialize an instance of Graphics class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Graphics graphics = new Aspose.Imaging.Graphics(image);

                                                                                                                                                                                                                                                                                                                                                     //Clear Graphics surface
                                                                                                                                                                                                                                                                                                                                                     graphics.Clear(Color.Wheat);

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of GraphicsPath class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.GraphicsPath graphicspath = new Aspose.Imaging.GraphicsPath();

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of Figure class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Figure figure = new Aspose.Imaging.Figure();

                                                                                                                                                                                                                                                                                                                                                     //Add Shapes to Figure object
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.RectangleShape(new Aspose.Imaging.RectangleF(10f, 10f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.EllipseShape(new Aspose.Imaging.RectangleF(50f, 50f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.PieShape(new Aspose.Imaging.RectangleF(new Aspose.Imaging.PointF(250f, 250f), new Aspose.Imaging.SizeF(200f, 200f)), 0f, 45f));

                                                                                                                                                                                                                                                                                                                                                     //Add Figure object to GraphicsPath
                                                                                                                                                                                                                                                                                                                                                     graphicspath.AddFigure(figure);

                                                                                                                                                                                                                                                                                                                                                     //Draw path with Pen object of color Black
                                                                                                                                                                                                                                                                                                                                                     graphics.DrawPath(new Aspose.Imaging.Pen(Aspose.Imaging.Color.Black, 2), graphicspath);

                                                                                                                                                                                                                                                                                                                                                     // save all changes.
                                                                                                                                                                                                                                                                                                                                                     image.Save();
                                                                                                                                                                                                                                                                                                                                                 }
                                                                                                                                                                                                                                                                                                                                             }

Constructors

GraphicsPath()

Aspose.Imaging.GraphicsPathクラスの新しい例を開始します。

[JsonConstructor]
public GraphicsPath()

Examples

これらの例は、グラフィックパスとグラフィッククラスを使用して画像表面上の数字を作成し、操作します。 例は、新しい画像(タイプのティフ)を作成し、表面をクリアし、グラフィックパスクラスの助けを借りてルートを引き出します。

//Create an instance of FileStream
                                                                                                                                                                                                                                                                                                                                             using (System.IO.FileStream stream = new System.IO.FileStream(@"C:\temp\output.tiff", System.IO.FileMode.Create))
                                                                                                                                                                                                                                                                                                                                             {
                                                                                                                                                                                                                                                                                                                                                 //Create an instance of TiffOptions and set its various properties
                                                                                                                                                                                                                                                                                                                                                 Aspose.Imaging.ImageOptions.TiffOptions tiffOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);

                                                                                                                                                                                                                                                                                                                                                 //Set the source for the instance of ImageOptions
                                                                                                                                                                                                                                                                                                                                                 tiffOptions.Source = new Aspose.Imaging.Sources.StreamSource(stream);

                                                                                                                                                                                                                                                                                                                                                 //Create an instance of Image 
                                                                                                                                                                                                                                                                                                                                                 using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Create(tiffOptions, 500, 500))
                                                                                                                                                                                                                                                                                                                                                 {
                                                                                                                                                                                                                                                                                                                                                     //Create and initialize an instance of Graphics class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Graphics graphics = new Aspose.Imaging.Graphics(image);

                                                                                                                                                                                                                                                                                                                                                     //Clear Graphics surface
                                                                                                                                                                                                                                                                                                                                                     graphics.Clear(Color.Wheat);

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of GraphicsPath class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.GraphicsPath graphicspath = new Aspose.Imaging.GraphicsPath();

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of Figure class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Figure figure = new Aspose.Imaging.Figure();

                                                                                                                                                                                                                                                                                                                                                     //Add Shapes to Figure object
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.RectangleShape(new Aspose.Imaging.RectangleF(10f, 10f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.EllipseShape(new Aspose.Imaging.RectangleF(50f, 50f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.PieShape(new Aspose.Imaging.RectangleF(new Aspose.Imaging.PointF(250f, 250f), new Aspose.Imaging.SizeF(200f, 200f)), 0f, 45f));

                                                                                                                                                                                                                                                                                                                                                     //Add Figure object to GraphicsPath
                                                                                                                                                                                                                                                                                                                                                     graphicspath.AddFigure(figure);

                                                                                                                                                                                                                                                                                                                                                     //Draw path with Pen object of color Black
                                                                                                                                                                                                                                                                                                                                                     graphics.DrawPath(new Aspose.Imaging.Pen(Aspose.Imaging.Color.Black, 2), graphicspath);

                                                                                                                                                                                                                                                                                                                                                     // save all changes.
                                                                                                                                                                                                                                                                                                                                                     image.Save();
                                                                                                                                                                                                                                                                                                                                                 }
                                                                                                                                                                                                                                                                                                                                             }

GraphicsPath(Figure[])

Aspose.Imaging.GraphicsPathクラスの新しい例を開始します。

public GraphicsPath(Figure[] figures)

Parameters

figures Figure ( )

数字から始まる。

GraphicsPath(Figure( ), フィルムモード)

Aspose.Imaging.GraphicsPathクラスの新しい例を開始します。

public GraphicsPath(Figure[] figures, FillMode fillMode)

Parameters

figures Figure ( )

数字から始まる。

fillMode FillMode

モードを満たす

GraphicsPath(FillMode)

Aspose.Imaging.GraphicsPathクラスの新しい例を開始します。

public GraphicsPath(FillMode fillMode)

Parameters

fillMode FillMode

モードを満たす

Properties

Bounds

オブジェクトの限界を取得または設定します。

public override RectangleF Bounds { get; }

不動産価値

RectangleF

Figures

道の数を数える。

[JsonProperty]
public Figure[] Figures { get; }

不動産価値

Figure ( )

FillMode

この Aspose.Imaging.GraphicsPath の形状の内部がどのように満たされているかを決定する Aspose.Imaging.FillMode リストを取得または設定します。

public FillMode FillMode { get; set; }

不動産価値

FillMode

Methods

AddFigure(Figure)

新しい数字を追加します。

public void AddFigure(Figure figure)

Parameters

figure Figure

追加する数字です。

Examples

これらの例は、グラフィックパスとグラフィッククラスを使用して画像表面上の数字を作成し、操作します。 例は、新しい画像(タイプのティフ)を作成し、表面をクリアし、グラフィックパスクラスの助けを借りてルートを引き出します。

//Create an instance of FileStream
                                                                                                                                                                                                                                                                                                                                             using (System.IO.FileStream stream = new System.IO.FileStream(@"C:\temp\output.tiff", System.IO.FileMode.Create))
                                                                                                                                                                                                                                                                                                                                             {
                                                                                                                                                                                                                                                                                                                                                 //Create an instance of TiffOptions and set its various properties
                                                                                                                                                                                                                                                                                                                                                 Aspose.Imaging.ImageOptions.TiffOptions tiffOptions = new Aspose.Imaging.ImageOptions.TiffOptions(Imaging.FileFormats.Tiff.Enums.TiffExpectedFormat.Default);

                                                                                                                                                                                                                                                                                                                                                 //Set the source for the instance of ImageOptions
                                                                                                                                                                                                                                                                                                                                                 tiffOptions.Source = new Aspose.Imaging.Sources.StreamSource(stream);

                                                                                                                                                                                                                                                                                                                                                 //Create an instance of Image 
                                                                                                                                                                                                                                                                                                                                                 using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Create(tiffOptions, 500, 500))
                                                                                                                                                                                                                                                                                                                                                 {
                                                                                                                                                                                                                                                                                                                                                     //Create and initialize an instance of Graphics class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Graphics graphics = new Aspose.Imaging.Graphics(image);

                                                                                                                                                                                                                                                                                                                                                     //Clear Graphics surface
                                                                                                                                                                                                                                                                                                                                                     graphics.Clear(Color.Wheat);

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of GraphicsPath class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.GraphicsPath graphicspath = new Aspose.Imaging.GraphicsPath();

                                                                                                                                                                                                                                                                                                                                                     //Create an instance of Figure class
                                                                                                                                                                                                                                                                                                                                                     Aspose.Imaging.Figure figure = new Aspose.Imaging.Figure();

                                                                                                                                                                                                                                                                                                                                                     //Add Shapes to Figure object
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.RectangleShape(new Aspose.Imaging.RectangleF(10f, 10f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.EllipseShape(new Aspose.Imaging.RectangleF(50f, 50f, 300f, 300f)));
                                                                                                                                                                                                                                                                                                                                                     figure.AddShape(new Aspose.Imaging.Shapes.PieShape(new Aspose.Imaging.RectangleF(new Aspose.Imaging.PointF(250f, 250f), new Aspose.Imaging.SizeF(200f, 200f)), 0f, 45f));

                                                                                                                                                                                                                                                                                                                                                     //Add Figure object to GraphicsPath
                                                                                                                                                                                                                                                                                                                                                     graphicspath.AddFigure(figure);

                                                                                                                                                                                                                                                                                                                                                     //Draw path with Pen object of color Black
                                                                                                                                                                                                                                                                                                                                                     graphics.DrawPath(new Aspose.Imaging.Pen(Aspose.Imaging.Color.Black, 2), graphicspath);

                                                                                                                                                                                                                                                                                                                                                     // save all changes.
                                                                                                                                                                                                                                                                                                                                                     image.Save();
                                                                                                                                                                                                                                                                                                                                                 }
                                                                                                                                                                                                                                                                                                                                             }

AddFigures(Figure[])

新しい数字を追加します。

public void AddFigures(Figure[] figures)

Parameters

figures Figure ( )

追加する数字です。

Examples

この例では、新しいイメージを作成し、画像表面にFigures と GraphicsPath を使用して様々な形状を引き出します。

//Creates an instance of BmpOptions and set its various properties            
                                                                                                                             Aspose.Imaging.ImageOptions.BmpOptions bmpOptions = new Aspose.Imaging.ImageOptions.BmpOptions();
                                                                                                                             bmpOptions.BitsPerPixel = 24;

                                                                                                                             //Create an instance of FileCreateSource and assign it as Source for the instance of BmpOptions
                                                                                                                             //Second Boolean parameter determines if the file to be created IsTemporal or not
                                                                                                                             bmpOptions.Source = new Aspose.Imaging.Sources.FileCreateSource(@"c:\temp\output.bmp", false);

                                                                                                                             //Create an instance of Image 
                                                                                                                             using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Create(bmpOptions, 500, 500))
                                                                                                                             {
                                                                                                                                 //Create and initialize an instance of Graphics class
                                                                                                                                 Aspose.Imaging.Graphics graphics = new Aspose.Imaging.Graphics(image);

                                                                                                                                 //Clear Graphics surface
                                                                                                                                 graphics.Clear(Color.Wheat);

                                                                                                                                 //Create an instance of GraphicsPath class
                                                                                                                                 Aspose.Imaging.GraphicsPath graphicspath = new Aspose.Imaging.GraphicsPath();

                                                                                                                                 //Create an instance of Figure class
                                                                                                                                 Aspose.Imaging.Figure figure1 = new Aspose.Imaging.Figure();

                                                                                                                                 //Add Shape to Figure object
                                                                                                                                 figure1.AddShape(new Aspose.Imaging.Shapes.EllipseShape(new RectangleF(50, 50, 300, 300)));
                                                                                                                                 figure1.AddShape(new Aspose.Imaging.Shapes.PieShape(new Rectangle(new Point(110, 110), new Size(200, 200)), 0, 90));

                                                                                                                                 //Create an instance of Figure class
                                                                                                                                 Aspose.Imaging.Figure figure2 = new Aspose.Imaging.Figure();

                                                                                                                                 //Add Shape to Figure object
                                                                                                                                 figure2.AddShape(new Aspose.Imaging.Shapes.ArcShape(new Aspose.Imaging.RectangleF(10, 10, 300, 300), 0, 45));
                                                                                                                                 figure2.AddShape(new Aspose.Imaging.Shapes.PolygonShape(new[] { new Aspose.Imaging.PointF(150, 10), new Aspose.Imaging.PointF(150, 200), new Aspose.Imaging.PointF(250, 300), new Aspose.Imaging.PointF(350, 400) }, true));
                                                                                                                                 figure2.AddShape(new Aspose.Imaging.Shapes.RectangleShape(new Aspose.Imaging.RectangleF(new Aspose.Imaging.Point(250, 250), new Aspose.Imaging.Size(200, 200))));

                                                                                                                                 //Add Figure object to GraphicsPath
                                                                                                                                 graphicspath.AddFigures(new[] { figure1, figure2 });

                                                                                                                                 //Draw path with Pen object of color Black
                                                                                                                                 graphics.DrawPath(new Pen(Aspose.Imaging.Color.Black, 2), graphicspath);

                                                                                                                                 // save all changes.
                                                                                                                                 image.Save();
                                                                                                                             }

AddPath(GraphicsPath)

このコースに指定された Aspose.Imaging.GraphicsPath を追加します。

public void AddPath(GraphicsPath addingPath)

Parameters

addingPath GraphicsPath

Aspose.Imaging.GraphicsPath を追加します。

AddPath(グラフィックパス、ボール)

このコースに指定された Aspose.Imaging.GraphicsPath を追加します。

public void AddPath(GraphicsPath addingPath, bool connect)

Parameters

addingPath GraphicsPath

Aspose.Imaging.GraphicsPath を追加します。

connect bool

追加コースの最初の数字がこのコースの最後の数字の一部であるかどうかを指定するボーレー値 追加コースの最初の数字がこのコースの最後の数字の一部であることを指定する真の値 追加コースの最初の数字がこのコースの最後の数字から分離されていることを指定する偽の値。

DeepClone()

このグラフィックコースの深いクローンを実現します。

public GraphicsPath DeepClone()

Returns

GraphicsPath

グラフィックコースの深いクローンです。

Equals(対象)

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

public override bool Equals(object obj)

Parameters

obj object

他のオブジェクト

Returns

bool

平等比較の結果

Flatten()

このコースの各曲線を結びついたラインセグメントの順序に変換します。

public void Flatten()

Flatten(Matrix)

指定された変換を適用し、その後、この Aspose.Imaging.GraphicsPath の各曲線を接続されたラインセグメントの順序に変換します。

public void Flatten(Matrix matrix)

Parameters

matrix Matrix

A Aspose.Imaging.Matrix によってこの Aspose.Imaging.GraphicsPath を変換する前にフラッティングします。

Flatten(マトリックス、フラット)

この Aspose.Imaging.GraphicsPath の各曲線を接続されたラインセグメントの順序に変換します。

public void Flatten(Matrix matrix, float flatness)

Parameters

matrix Matrix

A Aspose.Imaging.Matrix によってこの Aspose.Imaging.GraphicsPath を変換する前にフラッティングします。

flatness float

曲線とそのフラットアプローチの間の最大許可エラーを指定します. 0.25 の値はデフォルトです. フラットアプローチの値を減らすことで、アプローチのラインセグメントの数が増加します。

GetBounds(Matrix)

オブジェクトの境界線を見つける。

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

制限前に適用されるマトリックスは計算されます。

Returns

RectangleF

予想される物体の限界。

GetBounds(マトリックス、ペン)

オブジェクトの境界線を見つける。

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

制限前に適用されるマトリックスは計算されます。

pen Pen

オブジェクトに使用するペン. これは、オブジェクトの境界サイズに影響を与える可能性があります。

Returns

RectangleF

予想される物体の限界。

GetHashCode()

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

public override int GetHashCode()

Returns

int

ハッシュコード

IsOutlineVisible(フラット、フラット、ペン)

この Aspose.Imaging.GraphicsPath が指定された Aspose.Imaging.Pen で引き出された場合、指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示します。

public bool IsOutlineVisible(float x, float y, Pen pen)

Parameters

x float

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

y float

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

pen Pen

トップページ > トップページ > トップページ > テスト

Returns

bool

この方法は、指定された点がこの Aspose.Imaging.GraphicsPath の表に含まれている場合、指定された Aspose.Imaging.Pen で引き出されたときに真実に戻ります。

IsOutlineVisible(ペン、ペン)

この Aspose.Imaging.GraphicsPath が指定された Aspose.Imaging.Pen で引き出された場合、指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示します。

public bool IsOutlineVisible(PointF point, Pen pen)

Parameters

point PointF

Aspose.Imaging.PointF は、テストする場所を指定します。

pen Pen

トップページ > トップページ > トップページ > テスト

Returns

bool

この方法は、指定された点がこの Aspose.Imaging.GraphicsPath の表に含まれている場合、指定された Aspose.Imaging.Pen で引き出されたときに真実に戻ります。

IsOutlineVisible(フラット、フラット、ペン、グラフィック)

指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示し、指定された Aspose.Imaging.Pen で引き出し、指定された Aspose.Imaging.Graphics を使用します。

public bool IsOutlineVisible(float x, float y, Pen pen, Graphics graphics)

Parameters

x float

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

y float

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

pen Pen

トップページ > トップページ > トップページ > テスト

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定されたポイントが、指定された Aspose.Imaging.GraphicsPath で描かれたように、この Aspose.Imaging.GraphicsPath のオリジナル内(下)に含まれている場合、真実に戻ります。

IsOutlineVisible(PointF、ペン、グラフィック)

指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示し、指定された Aspose.Imaging.Pen で引き出し、指定された Aspose.Imaging.Graphics を使用します。

public bool IsOutlineVisible(PointF pt, Pen pen, Graphics graphics)

Parameters

pt PointF

Aspose.Imaging.PointF は、テストする場所を指定します。

pen Pen

トップページ > トップページ > トップページ > テスト

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定されたポイントが、指定された Aspose.Imaging.GraphicsPath で描かれたように、この Aspose.Imaging.GraphicsPath のオリジナル内(下)に含まれている場合、真実に戻ります。

IsOutlineVisible(ペン、ペン)

この Aspose.Imaging.GraphicsPath が指定された Aspose.Imaging.Pen で引き出された場合、指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示します。

public bool IsOutlineVisible(int x, int y, Pen pen)

Parameters

x int

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

y int

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

pen Pen

トップページ > トップページ > トップページ > テスト

Returns

bool

この方法は、指定された点がこの Aspose.Imaging.GraphicsPath の表に含まれている場合、指定された Aspose.Imaging.Pen で引き出されたときに真実に戻ります。

IsOutlineVisible(ポイント、ペン)

この Aspose.Imaging.GraphicsPath が指定された Aspose.Imaging.Pen で引き出された場合、指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示します。

public bool IsOutlineVisible(Point point, Pen pen)

Parameters

point Point

テストする場所を指定する Aspose.Imaging.Point です。

pen Pen

トップページ > トップページ > トップページ > テスト

Returns

bool

この方法は、指定された点がこの Aspose.Imaging.GraphicsPath の表に含まれている場合、指定された Aspose.Imaging.Pen で引き出されたときに真実に戻ります。

IsOutlineVisible(int、int、ペン、グラフィック)

指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示し、指定された Aspose.Imaging.Pen で引き出し、指定された Aspose.Imaging.Graphics を使用します。

public bool IsOutlineVisible(int x, int y, Pen pen, Graphics graphics)

Parameters

x int

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

y int

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

pen Pen

トップページ > トップページ > トップページ > テスト

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定された点が、指定された Aspose.Imaging.GraphicsPath で描かれたように、この Aspose.Imaging.GraphicsPath の表に含まれている場合、真実に戻ります。

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

指定された点がこの Aspose.Imaging.GraphicsPath の表面内(下)に含まれているかどうかを示し、指定された Aspose.Imaging.Pen で引き出し、指定された Aspose.Imaging.Graphics を使用します。

public bool IsOutlineVisible(Point pt, Pen pen, Graphics graphics)

Parameters

pt Point

テストする場所を指定する Aspose.Imaging.Point です。

pen Pen

トップページ > トップページ > トップページ > テスト

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定された点が、指定された Aspose.Imaging.GraphicsPath で描かれたように、この Aspose.Imaging.GraphicsPath の表に含まれている場合、真実に戻ります。

IsVisible(フロア、フロア)

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

public bool IsVisible(float x, float y)

Parameters

x float

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

y float

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

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

IsVisible(ポイントF)

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

public bool IsVisible(PointF point)

Parameters

point PointF

Aspose.Imaging.PointF は、試すポイントを表します。

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

IsVisible(int、 int)

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

public bool IsVisible(int x, int y)

Parameters

x int

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

y int

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

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

IsVisible(Point)

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

public bool IsVisible(Point point)

Parameters

point Point

Aspose.Imaging.Point は、試すポイントを表します。

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

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

指定された点がこの Aspose.Imaging.GraphicsPath に含まれているかどうかを示し、指定された Aspose.Imaging.Graphics の視覚的なクリップ エリアに表示します。

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

Parameters

x float

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

y float

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

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

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

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

public bool IsVisible(PointF pt, Graphics graphics)

Parameters

pt PointF

Aspose.Imaging.PointF は、試すポイントを表します。

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定された点がこれに含まれている場合に真実に戻ります; そうでなければ、偽りです。

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

この Aspose.Imaging.GraphicsPath に指定された点が含まれているかどうかを示し、指定された Aspose.Imaging.Graphics を使用します。

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

Parameters

x int

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

y int

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

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

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

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

public bool IsVisible(Point pt, Graphics graphics)

Parameters

pt Point

Aspose.Imaging.Point は、試すポイントを表します。

graphics Graphics

Aspose.Imaging.Graphics は、視覚性をテストするためのものです。

Returns

bool

この方法は、指定されたポイントがこの Aspose.Imaging.GraphicsPath に含まれている場合、真実に戻ります。

RemoveFigure(Figure)

数字を取り除く。

public void RemoveFigure(Figure figure)

Parameters

figure Figure

削除する数字。

RemoveFigures(Figure[])

数字を取り除く。

public void RemoveFigures(Figure[] figures)

Parameters

figures Figure ( )

削除する数字です。

Reset()

Aspose.Imaging.FillMode を Aspose.Imaging.FillMode.Alternate に設定します。

public void Reset()

Reverse()

この Aspose.Imaging.GraphicsPathの各形状の数字、形状、ポイントの順序を逆転します。

public void Reverse()

Transform(Matrix)

形状に指定された変換を適用します。

public override void Transform(Matrix transform)

Parameters

transform Matrix

適用される変革。

Warp(ポイントF( ), ・RectangleF)

この Aspose.Imaging.GraphicsPath に、直角とパラレログラムによって定義されたワルプ変換を適用します。

public void Warp(PointF[] destPoints, RectangleF srcRect)

Parameters

destPoints PointF ( )

Aspose.Imaging.PointF の構造は、パラレログラムを定義し、コードクラス=“paramref”>srcRect によって定義された直角が変換されます。

srcRect RectangleF

A Aspose.Imaging.RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints’. に変換される直角を表す。

Warp(ポイントF( ), マトリックス、RectangleF)

この Aspose.Imaging.GraphicsPath に、直角とパラレログラムによって定義されたワルプ変換を適用します。

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix)

Parameters

destPoints PointF ( )

Aspose.Imaging.PointF の構造は、パラレログラムを定義し、コードクラス=“paramref”>srcRect によって定義された直角が変換されます。

srcRect RectangleF

A Aspose.Imaging.RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints’. に変換される直角を表す。

matrix Matrix

A Aspose.Imaging.Matrix that specifies a geometric transform to apply to the path. 道路に適用される地質変換を指定するマトリックス。

Warp(ポイントF( ), マトリックス、RectangleF、WarpMode)

この Aspose.Imaging.GraphicsPath に、直角とパラレログラムによって定義されたワルプ変換を適用します。

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode)

Parameters

destPoints PointF ( )

Aspose.Imaging.PointF の構造は、パラレログラムを定義し、コードクラス=“paramref”>srcRect によって定義された直角が変換されます。

srcRect RectangleF

A Aspose.Imaging.RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints’. に変換される直角を表す。

matrix Matrix

A Aspose.Imaging.Matrix that specifies a geometric transform to apply to the path. 道路に適用される地質変換を指定するマトリックス。

warpMode WarpMode

Aspose.Imaging.WarpMode リストは、この warp 操作が視野または二重モードを使用しているかどうかを指定します。

Warp(ポイントF( ), マトリックス、RectangleF、WarpMode、フラット)

この Aspose.Imaging.GraphicsPath に、直角とパラレログラムによって定義されたワルプ変換を適用します。

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness)

Parameters

destPoints PointF ( )

Aspose.Imaging.PointF の構造は、パラレログラムを定義し、コードクラス=“paramref”>srcRect によって定義された直角が変換されます。

srcRect RectangleF

A Aspose.Imaging.RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints’. に変換される直角を表す。

matrix Matrix

A Aspose.Imaging.Matrix that specifies a geometric transform to apply to the path. 道路に適用される地質変換を指定するマトリックス。

warpMode WarpMode

Aspose.Imaging.WarpMode リストは、この warp 操作が視野または二重モードを使用しているかどうかを指定します。

flatness float

0 から 1 までの値で、結果の道がどのくらい平らかを指定します. 詳細については、 Aspose.Imaging.GraphicsPath.Flatten 方法を参照してください。

Widen(Pen)

経路に追加の説明を追加します。

public void Widen(Pen pen)

Parameters

pen Pen

Aspose.Imaging.Pen は、道のオリジナル出線と新しい出線の間の幅を指定し、この方法を生み出します。

Widen(ペン、マトリックス)

Aspose.Imaging.GraphicsPath に追加の説明を追加します。

public void Widen(Pen pen, Matrix matrix)

Parameters

pen Pen

Aspose.Imaging.Pen は、道のオリジナル出線と新しい出線の間の幅を指定し、この方法を生み出します。

matrix Matrix

Aspose.Imaging.Matrix は、拡張前にコースに適用される変換を指定します。

Widen(ペン、マトリックス、フラット)

この Aspose.Imaging.GraphicsPath を、このコースが指定されたペンによって引き出されたときに満たされる領域を閉じる曲線で置き換えます。

public void Widen(Pen pen, Matrix matrix, float flatness)

Parameters

pen Pen

Aspose.Imaging.Pen は、道のオリジナル出線と新しい出線の間の幅を指定し、この方法を生み出します。

matrix Matrix

Aspose.Imaging.Matrix は、拡張前にコースに適用される変換を指定します。

flatness float

曲線のフラット性を指定する値です。

 日本語