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

이 예제는 GraphicsPath와 Graphics 클래스를 사용하여 이미지 표면에 숫자를 만들고 조작합니다. 예제는 새로운 이미지를 만듭니다 (티프 형식), 표면을 청소하고 GraphicsPath 클래스의 도움으로 경로를 끌어 들이십시오.

//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

이 예제는 GraphicsPath와 Graphics 클래스를 사용하여 이미지 표면에 숫자를 만들고 조작합니다. 예제는 새로운 이미지를 만듭니다 (티프 형식), 표면을 청소하고 GraphicsPath 클래스의 도움으로 경로를 끌어 들이십시오.

//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

이 예제는 GraphicsPath와 Graphics 클래스를 사용하여 이미지 표면에 숫자를 만들고 조작합니다. 예제는 새로운 이미지를 만듭니다 (티프 형식), 표면을 청소하고 GraphicsPath 클래스의 도움으로 경로를 끌어 들이십시오.

//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

이 예제는 새로운 이미지를 만들고 이미지 표면에 숫자와 그래픽 패스를 사용하여 다양한 모양을 끌어 올립니다.

//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

The Aspose.Imaging.GraphicsPath를 추가합니다.

AddPath(그래픽 패스, Bool)

이 경로에 지정된 Aspose.Imaging.GraphicsPath를 추가합니다.

public void AddPath(GraphicsPath addingPath, bool connect)

Parameters

addingPath GraphicsPath

The 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

이 Aspose.Imaging.Matrix를 변환하기 전에 Aspose.Imaging.GraphicsPath.

Flatten(매트릭스, 플로이트)

이 Aspose.Imaging.GraphicsPath에서 각 곡선을 연결된 라인 세그먼트의 순서로 변환합니다.

public void Flatten(Matrix matrix, float flatness)

Parameters

matrix Matrix

이 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.GraphicsPath의 출판물 내에 포함되어 있는지 여부를 지정합니다.

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

Parameters

x float

테스트해야 할 지점의 x 조정.

y float

시험할 지점의 Y 조정.

pen Pen

아스포스.Imaging.Pen 테스트 할 수 있습니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath의 출처 내에 포함되어 있는 경우, 지정된 Aspose.Imaging.Pen로 끌어 올릴 때; 그렇지 않으면, 가짜.

IsOutlineVisible(펜, 펜)

지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 끌릴 때 이 Aspose.Imaging.GraphicsPath의 출판물 내에 포함되어 있는지 여부를 지정합니다.

public bool IsOutlineVisible(PointF point, Pen pen)

Parameters

point PointF

Aspose.Imaging.PointF는 테스트할 위치를 지정합니다.

pen Pen

아스포스.Imaging.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

아스포스.Imaging.Pen 테스트 할 수 있습니다.

graphics Graphics

Aspose.Imaging.Graphics는 시야를 테스트하는 데 사용됩니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 추출 된 이 Aspose.Imaging.Pen의 출처 내에 ( 아래) 포함되어 있는 경우 사실로 돌아갑니다; 그렇지 않으면, 가짜.

IsOutlineVisible(포인트 F, 펜, 그래픽)

지정된 포인트가 지정된 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

아스포스.Imaging.Pen 테스트 할 수 있습니다.

graphics Graphics

Aspose.Imaging.Graphics는 시야를 테스트하는 데 사용됩니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 추출 된 이 Aspose.Imaging.Pen의 출처 내에 ( 아래) 포함되어 있는 경우 사실로 돌아갑니다; 그렇지 않으면, 가짜.

IsOutlineVisible(펜, 펜, 펜)

지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 끌릴 때 이 Aspose.Imaging.GraphicsPath의 출판물 내에 포함되어 있는지 여부를 지정합니다.

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

Parameters

x int

테스트해야 할 지점의 x 조정.

y int

시험할 지점의 Y 조정.

pen Pen

아스포스.Imaging.Pen 테스트 할 수 있습니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath의 출처 내에 포함되어 있는 경우, 지정된 Aspose.Imaging.Pen로 끌어 올릴 때; 그렇지 않으면, 가짜.

IsOutlineVisible(펜, 펜)

지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 끌릴 때 이 Aspose.Imaging.GraphicsPath의 출판물 내에 포함되어 있는지 여부를 지정합니다.

public bool IsOutlineVisible(Point point, Pen pen)

Parameters

point Point

테스트할 위치를 지정하는 Aspose.Imaging.Point.

pen Pen

아스포스.Imaging.Pen 테스트 할 수 있습니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath의 출처 내에 포함되어 있는 경우, 지정된 Aspose.Imaging.Pen로 끌어 올릴 때; 그렇지 않으면, 가짜.

IsOutlineVisible(인트, 인트, 펜, 그래픽)

지정된 포인트가 지정된 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

아스포스.Imaging.Pen 테스트 할 수 있습니다.

graphics Graphics

Aspose.Imaging.Graphics는 시야를 테스트하는 데 사용됩니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 추출 된 이 Aspose.Imaging.Pen의 출판물 내에 포함되어 있는 경우 사실로 돌아갑니다; 그렇지 않으면, 가짜.

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

아스포스.Imaging.Pen 테스트 할 수 있습니다.

graphics Graphics

Aspose.Imaging.Graphics는 시야를 테스트하는 데 사용됩니다.

Returns

bool

이 방법은 지정된 포인트가 지정된 Aspose.Imaging.GraphicsPath와 함께 추출 된 이 Aspose.Imaging.Pen의 출판물 내에 포함되어 있는 경우 사실로 돌아갑니다; 그렇지 않으면, 가짜.

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(이트, 이트)

지정된 포인트가 이 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(포인트, 그래픽)

지정된 포인트가 이 Aspose.Imaging.GraphicsPath 내에 포함되어 있는지 여부를 지정합니다.

public bool IsVisible(PointF pt, Graphics graphics)

Parameters

pt PointF

Aspose.Imaging.PointF는 테스트해야 할 포인트를 나타냅니다.

graphics Graphics

Aspose.Imaging.Graphics는 시야를 테스트하는 데 사용됩니다.

Returns

bool

이 방법은 지정된 포인트가 그 안에 포함되어 있는 경우에 다시 진실; 그렇지 않으면, 거짓.

IsVisible(인트, 인트, 그래픽)

지정된 포인트가 이 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[ ] [ [ ], 엑스 링크)

이 Aspose.Imaging.GraphicsPath에 직경과 파라렐로그램에 의해 정의 된 워프 변환을 적용합니다.

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

Parameters

destPoints PointF [ ] [ [ ]

Aspose.Imaging.PointF 구조의 범위는 srcRect’에 의해 정의 된 직경이 변환되는 파라렐로그라마를 정의합니다. 범위는 3 개 또는 4 개의 요소를 포함 할 수 있습니다. 범위가 3 개의 요소를 포함하는 경우, 파라렐로그라마의 오른쪽 아래 구석은 첫 번째 3 점에 의해 의미됩니다.

srcRect RectangleF

Aspose.Imaging.RectangleF는 destPoints"에 의해 정의 된 파라렐로그램으로 변환되는 직경을 나타냅니다.

Warp(포인트F[ ] [ [ ], RectangleF, 매트릭스)

이 Aspose.Imaging.GraphicsPath에 직경과 파라렐로그램에 의해 정의 된 워프 변환을 적용합니다.

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

Parameters

destPoints PointF [ ] [ [ ]

Aspose.Imaging.PointF 구조의 범위는 srcRect’에 의해 정의 된 직경이 변환되는 파라렐로그라마를 정의합니다. 범위는 3 개 또는 4 개의 요소를 포함 할 수 있습니다. 범위가 3 개의 요소를 포함하는 경우, 파라렐로그라마의 오른쪽 아래 구석은 첫 번째 3 점에 의해 의미됩니다.

srcRect RectangleF

Aspose.Imaging.RectangleF는 destPoints"에 의해 정의 된 파라렐로그램으로 변환되는 직경을 나타냅니다.

matrix Matrix

Aspose.Imaging.Matrix는 경로에 적용되는 지질 변형을 지정합니다.

Warp(포인트F[ ] [ [ ], RectangleF, 매트릭스, WarpMode)

이 Aspose.Imaging.GraphicsPath에 직경과 파라렐로그램에 의해 정의 된 워프 변환을 적용합니다.

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

Parameters

destPoints PointF [ ] [ [ ]

Aspose.Imaging.PointF 구조의 범위는 srcRect’에 의해 정의 된 직경이 변환되는 파라엘로그라마를 정의합니다. 범위는 3 개 또는 4 개의 요소를 포함 할 수 있습니다. 범위가 3 개의 요소를 포함하는 경우, 파라엘로그라마의 오른쪽 아래 구석은 첫 번째 3 점에 의해 의미됩니다.

srcRect RectangleF

Aspose.Imaging.RectangleF는 destPoints"에 의해 정의 된 파라렐로그램으로 변환되는 직경을 나타냅니다.

matrix Matrix

Aspose.Imaging.Matrix는 경로에 적용되는 지질 변형을 지정합니다.

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 구조의 범위는 srcRect’에 의해 정의 된 직경이 변환되는 파라렐로그라마를 정의합니다. 범위는 3 개 또는 4 개의 요소를 포함 할 수 있습니다. 범위가 3 개의 요소를 포함하는 경우, 파라렐로그라마의 오른쪽 아래 구석은 첫 번째 3 점에 의해 의미됩니다.

srcRect RectangleF

Aspose.Imaging.RectangleF는 destPoints"에 의해 정의 된 파라렐로그램으로 변환되는 직경을 나타냅니다.

matrix Matrix

Aspose.Imaging.Matrix는 경로에 적용되는 지질 변형을 지정합니다.

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

곡선에 대한 평평성을 지정하는 값.

 한국어