C# Class GitHub.UI.OcticonPath

Represent a raw path with no transformation. Uses the coordinate system from the octicon/svg files which are all drawn on a 1024px high canvas with variable width. If you're just after the shape this control can be used with Stretch=Uniform. If you're looking for an accurately scaled octicon correctly position you'll have to explicitly set the height of the path to 1024 and wrap it in a viewbox to scale it down to the size you want.
Inheritance: System.Windows.Shapes.Shape
Afficher le fichier Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Méthodes publiques

Свойство Type Description
IconProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetGeometryForIcon ( Octicon icon ) : System.Windows.Media.Geometry

Private Methods

Méthode Description
LoadGeometry ( Octicon icon ) : System.Windows.Media.Geometry
PrepareCache ( ) : Lazy>.Dictionary

Method Details

GetGeometryForIcon() public static méthode

public static GetGeometryForIcon ( Octicon icon ) : System.Windows.Media.Geometry
icon Octicon
Résultat System.Windows.Media.Geometry

Property Details

IconProperty public_oe static_oe property

public static DependencyProperty,System.Windows IconProperty
Résultat System.Windows.DependencyProperty