Class GraphicsPath
İsim alanı : Aspose.Imaging Toplantı: Aspose.Imaging.dll (25.4.0)
Bir dizi bağlantılı çizgi ve eğriler temsil eder. bu sınıf miras alınamaz.
[JsonObject(MemberSerialization.OptIn)]
public sealed class GraphicsPath : ObjectWithBounds
Inheritance
object ← ObjectWithBounds ← GraphicsPath
mirasçı üyeleri
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
Bu örnekler, bir görüntü yüzeyinde figürler oluşturmak ve manipüle etmek için GraphicsPath ve Graphics sınıfını kullanır. Örnek yeni bir görüntü oluşturur (tiff tipi), yüzeyi temizler ve GraphicsPath sınıfının yardımıyla yolları çeker.
//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 sınıfının yeni bir örneğini başlatır.
[JsonConstructor]
public GraphicsPath()
Examples
Bu örnekler, bir görüntü yüzeyinde figürler oluşturmak ve manipüle etmek için GraphicsPath ve Graphics sınıfını kullanır. Örnek yeni bir görüntü oluşturur (tiff tipi), yüzeyi temizler ve GraphicsPath sınıfının yardımıyla yolları çeker.
//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 sınıfının yeni bir örneğini başlatır.
public GraphicsPath(Figure[] figures)
Parameters
figures
Figure
[…]
Başlangıç yapılması gereken rakamlar.
GraphicsPath(Figure[…], • FillMode)
Aspose.Imaging.GraphicsPath sınıfının yeni bir örneğini başlatır.
public GraphicsPath(Figure[] figures, FillMode fillMode)
Parameters
figures
Figure
[…]
Başlangıç yapılması gereken rakamlar.
fillMode
FillMode
Doldurma modunu doldurmak.
GraphicsPath(FillMode)
Aspose.Imaging.GraphicsPath sınıfının yeni bir örneğini başlatır.
public GraphicsPath(FillMode fillMode)
Parameters
fillMode
FillMode
Doldurma modunu doldurmak.
Properties
Bounds
Bir nesnenin sınırlarını alır veya ayarlar.
public override RectangleF Bounds { get; }
Mülkiyet Değer
Figures
Yürüyüş rakamları alınır.
[JsonProperty]
public Figure[] Figures { get; }
Mülkiyet Değer
Figure […]
FillMode
Bu Aspose.Imaging.GraphicsPath’daki şekillerin içlerini nasıl doldurduğunu belirleyen bir Aspose.Imaging.FillMode listesi alır veya ayarlar.
public FillMode FillMode { get; set; }
Mülkiyet Değer
Methods
AddFigure(Figure)
Yeni bir rakam ekleyin.
public void AddFigure(Figure figure)
Parameters
figure
Figure
Eklemek için bir rakam.
Examples
Bu örnekler, bir görüntü yüzeyinde figürler oluşturmak ve manipüle etmek için GraphicsPath ve Graphics sınıfını kullanır. Örnek yeni bir görüntü oluşturur (tiff tipi), yüzeyi temizler ve GraphicsPath sınıfının yardımıyla yolları çeker.
//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[])
Yeni rakamlar ekledi.
public void AddFigures(Figure[] figures)
Parameters
figures
Figure
[…]
Ekleyeceğimiz rakamlar.
Examples
Bu örnek yeni bir Görüntü oluşturur ve Görüntü yüzeyinde Şekiller ve Grafikler kullanılarak çeşitli şekiller çekmektedir.
//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)
Bu yoldan belirtilen Aspose.Imaging.GraphicsPath’ı ekleyin.
public void AddPath(GraphicsPath addingPath)
Parameters
addingPath
GraphicsPath
Aspose.Imaging.GraphicsPath eklemek için.
AddPath(Görüntülü sohbet, bool)
Bu yoldan belirtilen Aspose.Imaging.GraphicsPath’ı ekleyin.
public void AddPath(GraphicsPath addingPath, bool connect)
Parameters
addingPath
GraphicsPath
Aspose.Imaging.GraphicsPath eklemek için.
connect
bool
Bu yoldaki ilk figürün bu yoldaki son figürün bir parçası olup olmadığını belirleyen bir boolean değeri.Bu yoldaki ilk figürün bu yoldaki son figürün bir parçası olup olmadığını belirleyen bir boolean değeri.Bu yoldaki ilk figürün bu yoldaki son figürden ayrıldığını belirleyen bir sahte değeri.
DeepClone()
Bu grafik yolun derin bir klonunu gerçekleştirir.
public GraphicsPath DeepClone()
Returns
Grafik yolunun derin bir klonu.
Equals(nesne)
nesnelerin eşit olup olmadığını kontrol edin.
public override bool Equals(object obj)
Parameters
obj
object
Diğer nesne ise.
Returns
Eşitlik karşılaştırma sonuçları.
Flatten()
Bu yolda her eğriliği bağlantılı çizgi segmentlerinin bir dizi haline dönüştürür.
public void Flatten()
Flatten(Matrix)
Belirlenen dönüştürücüyi uygulayın ve ardından bu Aspose.Imaging.GraphicsPath’daki her eğriyi bağlantılı çizgi segmentlerinin bir dizi haline dönüştürün.
public void Flatten(Matrix matrix)
Parameters
matrix
Matrix
Bir Aspose.Imaging.Matrix hangi bu Aspose.Imaging.GraphicsPath dönüştürmek için.
Flatten(Matris ve Float)
Bu Aspose.Imaging.GraphicsPath’ta her eğriliği bağlantılı çizgi segmentlerinin bir sırasına dönüştürür.
public void Flatten(Matrix matrix, float flatness)
Parameters
matrix
Matrix
Bir Aspose.Imaging.Matrix hangi bu Aspose.Imaging.GraphicsPath dönüştürmek için.
flatness
float
Kurşun ve düzleştirilmiş yaklaşım arasındaki maksimum izin verilen hatayı belirler. 0.25 değerinin varsayılan değeridir. düzleştirme değerinin azaltılması yaklaşımda çizgi segmentlerinin sayısını arttıracaktır.
GetBounds(Matrix)
nesnenin sınırlarını bulur.
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
Sınırlar öncesinde uygulanacak matris hesaplanacaktır.
Returns
tahmin edilen nesnenin sınırları.
GetBounds(Matris ve Pen)
nesnenin sınırlarını bulur.
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
Sınırlar öncesinde uygulanacak matris hesaplanacaktır.
pen
Pen
Bir nesne için kullanılacak kalem.Bu nesnenin sınır boyutunu etkileyebilir.
Returns
tahmin edilen nesnenin sınırları.
GetHashCode()
Mevcut nesnenin hash kodu alın.
public override int GetHashCode()
Returns
Hash kodu ile ilgili.
IsOutlineVisible(Yüzme , Yüzme , Pen)
Bu Aspose.Imaging.GraphicsPath, belirli Aspose.Imaging.Pen ile çizildiğinde belirtilen nokta içeriyor mu?
public bool IsOutlineVisible(float x, float y, Pen pen)
Parameters
x
float
X-koordinasyonu test edilecek noktaya aittir.
y
float
Sınav noktası için y-koordinat.
pen
Pen
Aspose.Imaging.Pen denemek için.
Returns
Bu yöntem, belirtilen nokta, bu Aspose.Imaging.GraphicsPath’ın çıkışında yer alırsa, belirtilen Aspose.Imaging.Pen ile çizildiğinde gerçeğe dönüşür; aksi takdirde, yanlış.
IsOutlineVisible(Yorumlar, Pen)
Bu Aspose.Imaging.GraphicsPath, belirli Aspose.Imaging.Pen ile çizildiğinde belirtilen nokta içeriyor mu?
public bool IsOutlineVisible(PointF point, Pen pen)
Parameters
point
PointF
Bir Aspose.Imaging.PointF, test edilecek konumu belirler.
pen
Pen
Aspose.Imaging.Pen denemek için.
Returns
Bu yöntem, belirtilen nokta, bu Aspose.Imaging.GraphicsPath’ın çıkışında yer alırsa, belirtilen Aspose.Imaging.Pen ile çizildiğinde gerçeğe dönüşür; aksi takdirde, yanlış.
IsOutlineVisible(Float, Float, Pen ve Grafik)
Belirlenen nokta Aspose.Imaging.GraphicsPath ile çizildiğinde ve Belirlenen Aspose.Imaging.Graphics ile çizildiğinde (aşağıda) bu Aspose.Imaging.GraphicsPath içerir olup olmadığını gösterir ve Belirlenen Aspose.Imaging.Graphics kullanır.
public bool IsOutlineVisible(float x, float y, Pen pen, Graphics graphics)
Parameters
x
float
X-koordinasyonu test edilecek noktaya aittir.
y
float
Sınav noktası için y-koordinat.
pen
Pen
Aspose.Imaging.Pen denemek için.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem, belirtilen nokta, belirtilen Aspose.Imaging.GraphicsPath ile çizildiği gibi (aşağıda) bu Aspose.Imaging.GraphicsPath çerçevesinde yer alırsa doğrudur; aksi takdirde, sahte.
IsOutlineVisible(PointF, Pen ve Grafik)
Belirlenen nokta Aspose.Imaging.GraphicsPath ile çizildiğinde ve Belirlenen Aspose.Imaging.Graphics ile çizildiğinde (aşağıda) bu Aspose.Imaging.GraphicsPath içerir olup olmadığını gösterir ve Belirlenen Aspose.Imaging.Graphics kullanır.
public bool IsOutlineVisible(PointF pt, Pen pen, Graphics graphics)
Parameters
pt
PointF
Bir Aspose.Imaging.PointF, test edilecek konumu belirler.
pen
Pen
Aspose.Imaging.Pen denemek için.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem, belirtilen nokta, belirtilen Aspose.Imaging.GraphicsPath ile çizildiği gibi (aşağıda) bu Aspose.Imaging.GraphicsPath çerçevesinde yer alırsa doğrudur; aksi takdirde, sahte.
IsOutlineVisible(iç, iç, pen)
Bu Aspose.Imaging.GraphicsPath, belirli Aspose.Imaging.Pen ile çizildiğinde belirtilen nokta içeriyor mu?
public bool IsOutlineVisible(int x, int y, Pen pen)
Parameters
x
int
X-koordinasyonu test edilecek noktaya aittir.
y
int
Sınav noktası için y-koordinat.
pen
Pen
Aspose.Imaging.Pen denemek için.
Returns
Bu yöntem, belirtilen nokta, bu Aspose.Imaging.GraphicsPath’ın çıkışında yer alırsa, belirtilen Aspose.Imaging.Pen ile çizildiğinde gerçeğe dönüşür; aksi takdirde, yanlış.
IsOutlineVisible(Şekil, Pen)
Bu Aspose.Imaging.GraphicsPath, belirli Aspose.Imaging.Pen ile çizildiğinde belirtilen nokta içeriyor mu?
public bool IsOutlineVisible(Point point, Pen pen)
Parameters
point
Point
Bir Aspose.Imaging.Point, test edilecek konumu belirler.
pen
Pen
Aspose.Imaging.Pen denemek için.
Returns
Bu yöntem, belirtilen nokta, bu Aspose.Imaging.GraphicsPath’ın çıkışında yer alırsa, belirtilen Aspose.Imaging.Pen ile çizildiğinde gerçeğe dönüşür; aksi takdirde, yanlış.
IsOutlineVisible(int, int, pen, grafikler)
Belirlenen nokta Aspose.Imaging.GraphicsPath ile çizildiğinde ve Belirlenen Aspose.Imaging.Graphics ile çizildiğinde (aşağıda) bu Aspose.Imaging.GraphicsPath içerir olup olmadığını gösterir ve Belirlenen Aspose.Imaging.Graphics kullanır.
public bool IsOutlineVisible(int x, int y, Pen pen, Graphics graphics)
Parameters
x
int
X-koordinasyonu test edilecek noktaya aittir.
y
int
Sınav noktası için y-koordinat.
pen
Pen
Aspose.Imaging.Pen denemek için.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem, belirtilen nokta, belirtilen Aspose.Imaging.GraphicsPath ile çizildiği gibi bu Aspose.Imaging.GraphicsPath çerçevesinde yer alırsa doğrudur; aksi takdirde, sahte.
IsOutlineVisible(Point, Pen ve Grafik)
Belirlenen nokta Aspose.Imaging.GraphicsPath ile çizildiğinde ve Belirlenen Aspose.Imaging.Graphics ile çizildiğinde (aşağıda) bu Aspose.Imaging.GraphicsPath içerir olup olmadığını gösterir ve Belirlenen Aspose.Imaging.Graphics kullanır.
public bool IsOutlineVisible(Point pt, Pen pen, Graphics graphics)
Parameters
pt
Point
Bir Aspose.Imaging.Point, test edilecek konumu belirler.
pen
Pen
Aspose.Imaging.Pen denemek için.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem, belirtilen nokta, belirtilen Aspose.Imaging.GraphicsPath ile çizildiği gibi bu Aspose.Imaging.GraphicsPath çerçevesinde yer alırsa doğrudur; aksi takdirde, sahte.
IsVisible(Yüzme , Yüzme)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(float x, float y)
Parameters
x
float
X-koordinasyonu test edilecek noktaya aittir.
y
float
Sınav noktası için y-koordinat.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(PointF)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(PointF point)
Parameters
point
PointF
Bir Aspose.Imaging.PointF, test edilecek noktayı temsil eder.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(int , int , int)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(int x, int y)
Parameters
x
int
X-koordinasyonu test edilecek noktaya aittir.
y
int
Sınav noktası için y-koordinat.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(Point)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(Point point)
Parameters
point
Point
Bir Aspose.Imaging.Point, test edilecek noktayı temsil eder.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(Float, Float ve Grafik)
Belirlenen nokta bu Aspose.Imaging.GraphicsPath içinde Belirlenen Aspose.Imaging.Graphics’in görünür klip bölgesinde olup olmadığını gösterir.
public bool IsVisible(float x, float y, Graphics graphics)
Parameters
x
float
X-koordinasyonu test edilecek noktaya aittir.
y
float
Sınav noktası için y-koordinat.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(PointF ve Grafik)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(PointF pt, Graphics graphics)
Parameters
pt
PointF
Bir Aspose.Imaging.PointF, test edilecek noktayı temsil eder.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem, belirtilen nokta içeriyorsa doğrudur; aksi takdirde, sahte.
IsVisible(int, int, grafikler)
Bu Aspose.Imaging.GraphicsPath’ın içinde belirtilen nokta olup olmadığını, belirtilen Aspose.Imaging.Graphics’i kullanarak gösterir.
public bool IsVisible(int x, int y, Graphics graphics)
Parameters
x
int
X-koordinasyonu test edilecek noktaya aittir.
y
int
Sınav noktası için y-koordinat.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
IsVisible(Görüntüleme, Grafik)
Bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyor olup olmadığını gösterir.
public bool IsVisible(Point pt, Graphics graphics)
Parameters
pt
Point
Bir Aspose.Imaging.Point, test edilecek noktayı temsil eder.
graphics
Graphics
Aspose.Imaging.Grafikler için görülebilirliği test etmek için.
Returns
Bu yöntem bu Aspose.Imaging.GraphicsPath içinde belirtilen nokta içeriyorsa gerçeği geri getirir; aksi takdirde, yanlış.
RemoveFigure(Figure)
Bir sayıyı kaldırın.
public void RemoveFigure(Figure figure)
Parameters
figure
Figure
Kaldırılması gereken rakam.
RemoveFigures(Figure[])
rakamları kaldırır.
public void RemoveFigures(Figure[] figures)
Parameters
figures
Figure
[…]
Kaldırılacak rakamlar.
Reset()
Görüntüleme yolunu kapatın ve Aspose.Imaging.FillMode’u Aspose.Imaging.FillMode.Alternate’e ayarlayın.
public void Reset()
Reverse()
Bu Aspose.Imaging.GraphicsPath’ın her biçiminde figürlerin, şekillerin ve noktaların sırasını tersine çevirir.
public void Reverse()
Transform(Matrix)
Şekil için belirtilen dönüşümü uygulayın.
public override void Transform(Matrix transform)
Parameters
transform
Matrix
Uygulanması gereken dönüşüm.
Warp(PointF[…], RectangleF)
Bu Aspose.Imaging.GraphicsPath için bir düz açı ve bir paralelogram tarafından tanımlanan bir varp dönüşümü uygulayın.
public void Warp(PointF[] destPoints, RectangleF srcRect)
Parameters
destPoints
PointF
[…]
Aspose.Imaging.PointF yapıları, srcRect’ tarafından tanımlanan düzlemin dönüştürüldüğü bir paralelogram tanımlayan bir array. array üç veya dört eleman içerebilir. array üç eleman içeriyorsa, paralelogramın sağ alt köşesi ilk üç nokta tarafından ifade edilir.
srcRect
RectangleF
Aspose.Imaging.RectangleF, destPoints’le tanımlanan paralelogram’a dönüştürülen düz açıyı temsil eder.
Warp(PointF[…], RectangleF , Matrix)
Bu Aspose.Imaging.GraphicsPath için bir düz açı ve bir paralelogram tarafından tanımlanan bir varp dönüşümü uygulayın.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix)
Parameters
destPoints
PointF
[…]
Aspose.Imaging.PointF yapıları, srcRect’ tarafından tanımlanan düzlemin dönüştürüldüğü bir paralelogram tanımlayan bir array. array üç veya dört eleman içerebilir. array üç eleman içeriyorsa, paralelogramın sağ alt köşesi ilk üç nokta tarafından ifade edilir.
srcRect
RectangleF
Aspose.Imaging.RectangleF, destPoints’le tanımlanan paralelogram’a dönüştürülen düz açıyı temsil eder.
matrix
Matrix
Aspose.Imaging.Matrix, yol için uygulanacak bir geometrik dönüşümü belirler.
Warp(PointF[…], RectangleF, Matrix, WarpMode)
Bu Aspose.Imaging.GraphicsPath için bir düz açı ve bir paralelogram tarafından tanımlanan bir varp dönüşümü uygulayın.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode)
Parameters
destPoints
PointF
[…]
Aspose.Imaging.PointF yapıları, srcRect’ tarafından tanımlanan düzlemin dönüştürüldüğü bir paralelogram tanımlayan bir array. array üç veya dört eleman içerebilir. array üç eleman içeriyorsa, paralelogramın sağ alt köşesi ilk üç nokta tarafından ifade edilir.
srcRect
RectangleF
Aspose.Imaging.RectangleF, destPoints’le tanımlanan paralelogram’a dönüştürülen düz açıyı temsil eder.
matrix
Matrix
Aspose.Imaging.Matrix, yol için uygulanacak bir geometrik dönüşümü belirler.
warpMode
WarpMode
Aspose.Imaging.WarpMode listesi, bu warp operasyonunun perspektif veya ikili mod kullanıp kullanmadığını belirtir.
Warp(PointF[…], RectangleF, Matrix, WarpMode, Float)
Bu Aspose.Imaging.GraphicsPath için bir düz açı ve bir paralelogram tarafından tanımlanan bir varp dönüşümü uygulayın.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness)
Parameters
destPoints
PointF
[…]
Aspose.Imaging.PointF yapıları, srcRect’ tarafından tanımlanan düzlemin dönüştürüldüğü bir paralelogram tanımlayan bir array. array üç veya dört eleman içerebilir. array üç eleman içeriyorsa, paralelogramın sağ alt köşesi ilk üç nokta tarafından ifade edilir.
srcRect
RectangleF
Aspose.Imaging.RectangleF, destPoints’le tanımlanan paralelogram’a dönüştürülen düz açıyı temsil eder.
matrix
Matrix
Aspose.Imaging.Matrix, yol için uygulanacak bir geometrik dönüşümü belirler.
warpMode
WarpMode
Aspose.Imaging.WarpMode listesi, bu warp operasyonunun perspektif veya ikili mod kullanıp kullanmadığını belirtir.
flatness
float
0’dan 1’e kadar bir değer, sonuçlanan yolun ne kadar düz olduğunu belirler. daha fazla bilgi için Aspose.Imaging.GraphicsPath.Flatten yöntemlerine bakın.
Widen(Pen)
Yürümeye ek bir açıklama ekleyin.
public void Widen(Pen pen)
Parameters
pen
Pen
Aspose.Imaging.Pen yolun orijinal çıkış çizgisi ile yeni çıkış çizgisi arasındaki genişliği belirleyen bu yöntem oluşturur.
Widen(Pen ve Matrix)
Aspose.Imaging.GraphicsPath’a ek bir açıklama ekleyin.
public void Widen(Pen pen, Matrix matrix)
Parameters
pen
Pen
Aspose.Imaging.Pen yolun orijinal çıkış çizgisi ile yeni çıkış çizgisi arasındaki genişliği belirleyen bu yöntem oluşturur.
matrix
Matrix
Aspose.Imaging.Matrix, genişlemeden önce yolda uygulanacak bir dönüşüm belirler.
Widen(Pen, Matrix ve Float)
Bu Aspose.Imaging.GraphicsPath’ı, bu yolu belirlenen kalem tarafından çizildiğinde doldurulan alanı kaplayan eğrilerle değiştirir.
public void Widen(Pen pen, Matrix matrix, float flatness)
Parameters
pen
Pen
Aspose.Imaging.Pen yolun orijinal çıkış çizgisi ile yeni çıkış çizgisi arasındaki genişliği belirleyen bu yöntem oluşturur.
matrix
Matrix
Aspose.Imaging.Matrix, genişlemeden önce yolda uygulanacak bir dönüşüm belirler.
flatness
float
Kurşunlar için düzliği belirleyen bir değer.