Geometry.GetWidenedPathGeometry Método

Definição

Obtém um PathGeometry que é a forma definida pelo traço na Geometry produzido pela Pen especificada.

Sobrecargas

GetWidenedPathGeometry(Pen)

Obtém um PathGeometry que é a forma definida pelo traço na Geometry produzido pela Pen especificada.

GetWidenedPathGeometry(Pen, Double, ToleranceType)

Obtém um PathGeometry que é a forma definida pelo traço na Geometry produzido pela Pen especificada, considerando o fator de tolerância especificado.

GetWidenedPathGeometry(Pen)

Obtém um PathGeometry que é a forma definida pelo traço na Geometry produzido pela Pen especificada.

public:
 System::Windows::Media::PathGeometry ^ GetWidenedPathGeometry(System::Windows::Media::Pen ^ pen);
public System.Windows.Media.PathGeometry GetWidenedPathGeometry (System.Windows.Media.Pen pen);
member this.GetWidenedPathGeometry : System.Windows.Media.Pen -> System.Windows.Media.PathGeometry
Public Function GetWidenedPathGeometry (pen As Pen) As PathGeometry

Parâmetros

pen
Pen

Um objeto que determina a área do traço da geometria.

Retornos

PathGeometry

A geometria contornada.

Comentários

Alguns Geometry métodos (como GetWidenedPathGeometry) produzem ou usam uma aproximação poligonal da geometria. O fator de tolerância especifica a distância máxima entre os pontos nessa aproximação poligonal. Valores de tolerância menores produzem melhores aproximações, mas exigem mais processamento do que uma aproximação com um fator de tolerância grande.

Aplica-se a

GetWidenedPathGeometry(Pen, Double, ToleranceType)

Obtém um PathGeometry que é a forma definida pelo traço na Geometry produzido pela Pen especificada, considerando o fator de tolerância especificado.

public:
 virtual System::Windows::Media::PathGeometry ^ GetWidenedPathGeometry(System::Windows::Media::Pen ^ pen, double tolerance, System::Windows::Media::ToleranceType type);
[System.Security.SecurityCritical]
public virtual System.Windows.Media.PathGeometry GetWidenedPathGeometry (System.Windows.Media.Pen pen, double tolerance, System.Windows.Media.ToleranceType type);
public virtual System.Windows.Media.PathGeometry GetWidenedPathGeometry (System.Windows.Media.Pen pen, double tolerance, System.Windows.Media.ToleranceType type);
[<System.Security.SecurityCritical>]
abstract member GetWidenedPathGeometry : System.Windows.Media.Pen * double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
override this.GetWidenedPathGeometry : System.Windows.Media.Pen * double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
abstract member GetWidenedPathGeometry : System.Windows.Media.Pen * double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
override this.GetWidenedPathGeometry : System.Windows.Media.Pen * double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
Public Overridable Function GetWidenedPathGeometry (pen As Pen, tolerance As Double, type As ToleranceType) As PathGeometry

Parâmetros

pen
Pen

O objeto usado para definir a área do traço da geometria.

tolerance
Double

Os limites máximos na distância entre pontos na aproximação poligonal de geometria. Valores menores produzem resultados mais precisos, mas causam a execução lenta. Se tolerance for menor que 0,000001, 0,000001 será usado.

type
ToleranceType

Um dos valores ToleranceType que especifica se o fator de tolerância é um valor absoluto ou relativo à área da geometria.

Retornos

PathGeometry

A geometria, ampliada por pen.

Atributos

Comentários

Alguns Geometry métodos (como GetWidenedPathGeometry) produzem ou usam uma aproximação poligonal da geometria. O fator de tolerância especifica a distância máxima entre os pontos nessa aproximação poligonal. Valores de tolerância menores produzem melhores aproximações, mas exigem mais processamento do que uma aproximação com um fator de tolerância grande.

Aplica-se a