Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
557 lines (527 sloc) 35.4 KB
<Type Name="PathGeometry" FullName="System.Windows.Media.PathGeometry">
<TypeSignature Language="C#" Value="public sealed class PathGeometry : System.Windows.Media.Geometry" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed PathGeometry extends System.Windows.Media.Geometry" />
<TypeSignature Language="DocId" Value="T:System.Windows.Media.PathGeometry" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class PathGeometry&#xA;Inherits Geometry" />
<TypeSignature Language="C++ CLI" Value="public ref class PathGeometry sealed : System::Windows::Media::Geometry" />
<TypeSignature Language="F#" Value="type PathGeometry = class&#xA; inherit Geometry" />
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Media.Geometry</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Windows.Markup.ContentProperty("Figures")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a complex shape that may be composed of arcs, curves, ellipses, lines, and rectangles.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Each <xref:System.Windows.Media.PathGeometry> object defines a collection of <xref:System.Windows.Media.PathFigure> objects. Each of the <xref:System.Windows.Media.PathFigure> objects is composed of one or more <xref:System.Windows.Media.PathSegment> objects, such as <xref:System.Windows.Media.ArcSegment> and <xref:System.Windows.Media.LineSegment>, which actually define their shape.
The filled area of the <xref:System.Windows.Media.PathGeometry> is defined by taking all of the contained <xref:System.Windows.Media.PathFigure> objects that have their <xref:System.Windows.Media.PathFigure.IsFilled%2A> property set to `true` and applying the <xref:System.Windows.Media.PathGeometry.FillRule%2A> to determine the enclosed area.
]]></format>
</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.PathGeometry" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PathGeometry ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; PathGeometry();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.PathGeometry" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PathGeometry (System.Collections.Generic.IEnumerable&lt;System.Windows.Media.PathFigure&gt; figures);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1&lt;class System.Windows.Media.PathFigure&gt; figures) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.#ctor(System.Collections.Generic.IEnumerable{System.Windows.Media.PathFigure})" />
<MemberSignature Language="VB.NET" Value="Public Sub New (figures As IEnumerable(Of PathFigure))" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; PathGeometry(System::Collections::Generic::IEnumerable&lt;System::Windows::Media::PathFigure ^&gt; ^ figures);" />
<MemberSignature Language="F#" Value="new System.Windows.Media.PathGeometry : seq&lt;System.Windows.Media.PathFigure&gt; -&gt; System.Windows.Media.PathGeometry" Usage="new System.Windows.Media.PathGeometry figures" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="figures" Type="System.Collections.Generic.IEnumerable&lt;System.Windows.Media.PathFigure&gt;" />
</Parameters>
<Docs>
<param name="figures">The <see cref="P:System.Windows.Media.PathGeometry.Figures" /> of the <see cref="T:System.Windows.Media.PathGeometry" /> which describes the contents of the <see cref="T:System.Windows.Shapes.Path" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.PathGeometry" /> class with the specified <see cref="P:System.Windows.Media.PathGeometry.Figures" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PathGeometry (System.Collections.Generic.IEnumerable&lt;System.Windows.Media.PathFigure&gt; figures, System.Windows.Media.FillRule fillRule, System.Windows.Media.Transform transform);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1&lt;class System.Windows.Media.PathFigure&gt; figures, valuetype System.Windows.Media.FillRule fillRule, class System.Windows.Media.Transform transform) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.#ctor(System.Collections.Generic.IEnumerable{System.Windows.Media.PathFigure},System.Windows.Media.FillRule,System.Windows.Media.Transform)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; PathGeometry(System::Collections::Generic::IEnumerable&lt;System::Windows::Media::PathFigure ^&gt; ^ figures, System::Windows::Media::FillRule fillRule, System::Windows::Media::Transform ^ transform);" />
<MemberSignature Language="F#" Value="new System.Windows.Media.PathGeometry : seq&lt;System.Windows.Media.PathFigure&gt; * System.Windows.Media.FillRule * System.Windows.Media.Transform -&gt; System.Windows.Media.PathGeometry" Usage="new System.Windows.Media.PathGeometry (figures, fillRule, transform)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="figures" Type="System.Collections.Generic.IEnumerable&lt;System.Windows.Media.PathFigure&gt;" />
<Parameter Name="fillRule" Type="System.Windows.Media.FillRule" />
<Parameter Name="transform" Type="System.Windows.Media.Transform" />
</Parameters>
<Docs>
<param name="figures">The <see cref="P:System.Windows.Media.PathGeometry.Figures" /> of the <see cref="T:System.Windows.Media.PathGeometry" /> which describes the contents of the <see cref="T:System.Windows.Shapes.Path" />.</param>
<param name="fillRule">The <see cref="P:System.Windows.Media.PathGeometry.FillRule" /> of the <see cref="T:System.Windows.Media.PathGeometry" />.</param>
<param name="transform">The <see cref="P:System.Windows.Media.Geometry.Transform" /> which specifies the transform applied.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.PathGeometry" /> class with the specified <see cref="P:System.Windows.Media.PathGeometry.Figures" />, <see cref="P:System.Windows.Media.PathGeometry.FillRule" />, and <see cref="P:System.Windows.Media.Geometry.Transform" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddGeometry">
<MemberSignature Language="C#" Value="public void AddGeometry (System.Windows.Media.Geometry geometry);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddGeometry(class System.Windows.Media.Geometry geometry) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.AddGeometry(System.Windows.Media.Geometry)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void AddGeometry(System::Windows::Media::Geometry ^ geometry);" />
<MemberSignature Language="F#" Value="member this.AddGeometry : System.Windows.Media.Geometry -&gt; unit" Usage="pathGeometry.AddGeometry geometry" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="geometry" Type="System.Windows.Media.Geometry" />
</Parameters>
<Docs>
<param name="geometry">The geometry to add to the path.</param>
<summary>Converts the specified <see cref="T:System.Windows.Media.Geometry" /> into a collection of <see cref="T:System.Windows.Media.PathFigure" /> objects and adds it to the path. **Note:** If the specified <see cref="T:System.Windows.Media.Geometry" /> is animated, the conversion from <see cref="T:System.Windows.Media.Geometry" /> to <see cref="T:System.Windows.Media.PathFigure" /> may result in some loss of information.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public override System.Windows.Rect Bounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Rect Bounds" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.PathGeometry.Bounds" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Bounds As Rect" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Windows::Rect Bounds { System::Windows::Rect get(); };" />
<MemberSignature Language="F#" Value="member this.Bounds : System.Windows.Rect" Usage="System.Windows.Media.PathGeometry.Bounds" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Rect</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <see cref="T:System.Windows.Rect" /> that specifies the bounding box of this <see cref="T:System.Windows.Media.PathGeometry" /> object. **Note:** This method does not take any pens into account.</summary>
<value>The bounding box of this <see cref="T:System.Windows.Media.PathGeometry" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If animations are present, the base values of the <xref:System.Windows.Media.Geometry> object are used to calculate the bounding box.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.Clear" />
<MemberSignature Language="VB.NET" Value="Public Sub Clear ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Clear();" />
<MemberSignature Language="F#" Value="member this.Clear : unit -&gt; unit" Usage="pathGeometry.Clear " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all <see cref="T:System.Windows.Media.PathFigure" /> objects from this <see cref="T:System.Windows.Media.PathGeometry" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public System.Windows.Media.PathGeometry Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.PathGeometry Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.Clone" />
<MemberSignature Language="VB.NET" Value="Public Function Clone () As PathGeometry" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Media::PathGeometry ^ Clone();" />
<MemberSignature Language="F#" Value="override this.Clone : unit -&gt; System.Windows.Media.PathGeometry" Usage="pathGeometry.Clone " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.PathGeometry</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.PathGeometry" />, making deep copies of this object's values. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true." /></returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.Clone%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CloneCurrentValue">
<MemberSignature Language="C#" Value="public System.Windows.Media.PathGeometry CloneCurrentValue ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.PathGeometry CloneCurrentValue() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.CloneCurrentValue" />
<MemberSignature Language="VB.NET" Value="Public Function CloneCurrentValue () As PathGeometry" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Media::PathGeometry ^ CloneCurrentValue();" />
<MemberSignature Language="F#" Value="override this.CloneCurrentValue : unit -&gt; System.Windows.Media.PathGeometry" Usage="pathGeometry.CloneCurrentValue " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.PathGeometry</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.PathGeometry" /> object, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.CloneCurrentValue%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateFromGeometry">
<MemberSignature Language="C#" Value="public static System.Windows.Media.PathGeometry CreateFromGeometry (System.Windows.Media.Geometry geometry);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Windows.Media.PathGeometry CreateFromGeometry(class System.Windows.Media.Geometry geometry) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.CreateFromGeometry(System.Windows.Media.Geometry)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Media::PathGeometry ^ CreateFromGeometry(System::Windows::Media::Geometry ^ geometry);" />
<MemberSignature Language="F#" Value="static member CreateFromGeometry : System.Windows.Media.Geometry -&gt; System.Windows.Media.PathGeometry" Usage="System.Windows.Media.PathGeometry.CreateFromGeometry geometry" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.PathGeometry</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="geometry" Type="System.Windows.Media.Geometry" />
</Parameters>
<Docs>
<param name="geometry">The geometry from which to create a <see cref="T:System.Windows.Media.PathGeometry" />.</param>
<summary>Creates a <see cref="T:System.Windows.Media.PathGeometry" /> version of the specified <see cref="T:System.Windows.Media.Geometry" />.</summary>
<returns>A <see cref="T:System.Windows.Media.PathGeometry" /> created from the current values of the specified <see cref="T:System.Windows.Media.Geometry" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the specified geometry is animated, its current animated values are used when constructing the new <xref:System.Windows.Media.PathGeometry> (although the animations themselves are not copied). If the geometry is animated, the conversion may result in some loss of precision.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateInstanceCore">
<MemberSignature Language="C#" Value="protected override System.Windows.Freezable CreateInstanceCore ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.Freezable CreateInstanceCore() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.CreateInstanceCore" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateInstanceCore () As Freezable" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override System::Windows::Freezable ^ CreateInstanceCore();" />
<MemberSignature Language="F#" Value="override this.CreateInstanceCore : unit -&gt; System.Windows.Freezable" Usage="pathGeometry.CreateInstanceCore " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Freezable</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Figures">
<MemberSignature Language="C#" Value="public System.Windows.Media.PathFigureCollection Figures { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.PathFigureCollection Figures" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.PathGeometry.Figures" />
<MemberSignature Language="VB.NET" Value="Public Property Figures As PathFigureCollection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::PathFigureCollection ^ Figures { System::Windows::Media::PathFigureCollection ^ get(); void set(System::Windows::Media::PathFigureCollection ^ value); };" />
<MemberSignature Language="F#" Value="member this.Figures : System.Windows.Media.PathFigureCollection with get, set" Usage="System.Windows.Media.PathGeometry.Figures" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.PathFigureCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the collection of <see cref="T:System.Windows.Media.PathFigure" /> objects that describe the path's contents.</summary>
<value>A collection of <see cref="T:System.Windows.Media.PathFigure" /> objects that describe the path's contents. Each individual <see cref="T:System.Windows.Media.PathFigure" /> describes a shape.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<a name="xamlAttributeUsage_Figures"></a>
## XAML Attribute Usage
```
<object Figures="moveAndDrawCommands"/>
```
<a name="xamlPropertyElementUsage_Figures"></a>
## XAML Property Element Usage
```
<object>
<object.Figures>
oneOrMoreFigures
</object.Figures>
</object>
```
<a name="xamlValues_Figures"></a>
## XAML Values
*moveAndDrawCommands*
One or more move and draw commands. See [Path Markup Syntax](~/docs/framework/wpf/graphics-multimedia/path-markup-syntax.md).
*oneOrMoreFigures*
<xref:System.Windows.Media.PathFigure?displayProperty=nameWithType>
One or more <xref:System.Windows.Media.PathFigure> objects.
<a name="dependencyPropertyInfo_Figures"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.PathGeometry.FiguresProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FiguresProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FiguresProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FiguresProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.PathGeometry.FiguresProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FiguresProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FiguresProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable FiguresProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.PathGeometry.FiguresProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.PathGeometry.Figures" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FillRule">
<MemberSignature Language="C#" Value="public System.Windows.Media.FillRule FillRule { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Media.FillRule FillRule" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.PathGeometry.FillRule" />
<MemberSignature Language="VB.NET" Value="Public Property FillRule As FillRule" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::FillRule FillRule { System::Windows::Media::FillRule get(); void set(System::Windows::Media::FillRule value); };" />
<MemberSignature Language="F#" Value="member this.FillRule : System.Windows.Media.FillRule with get, set" Usage="System.Windows.Media.PathGeometry.FillRule" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.FillRule</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that determines how the intersecting areas contained in this <see cref="T:System.Windows.Media.PathGeometry" /> are combined.</summary>
<value>Indicates how the intersecting areas of this <see cref="T:System.Windows.Media.PathGeometry" /> are combined. The default value is <c>EvenOdd</c>.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
**EvenOdd** Determines the "insideness" of a point on the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
**NonZero** Determines the "insideness" of a point on the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a Segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
![Fill rule illustration](~/add/media/ref-mil-fillrule-stars.PNG "Fill rule illustration")
FillRule Example
<a name="dependencyPropertyInfo_FillRule"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.PathGeometry.FillRuleProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="FillRuleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty FillRuleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty FillRuleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.PathGeometry.FillRuleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly FillRuleProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ FillRuleProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable FillRuleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.PathGeometry.FillRuleProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.PathGeometry.FillRule" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetPointAtFractionLength">
<MemberSignature Language="C#" Value="public void GetPointAtFractionLength (double progress, out System.Windows.Point point, out System.Windows.Point tangent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void GetPointAtFractionLength(float64 progress, [out] valuetype System.Windows.Point&amp; point, [out] valuetype System.Windows.Point&amp; tangent) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.GetPointAtFractionLength(System.Double,System.Windows.Point@,System.Windows.Point@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetPointAtFractionLength (progress As Double, ByRef point As Point, ByRef tangent As Point)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetPointAtFractionLength(double progress, [Runtime::InteropServices::Out] System::Windows::Point % point, [Runtime::InteropServices::Out] System::Windows::Point % tangent);" />
<MemberSignature Language="F#" Value="member this.GetPointAtFractionLength : double * Point * Point -&gt; unit" Usage="pathGeometry.GetPointAtFractionLength (progress, point, tangent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Security.SecurityCritical</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="progress" Type="System.Double" />
<Parameter Name="point" Type="System.Windows.Point" RefType="out" />
<Parameter Name="tangent" Type="System.Windows.Point" RefType="out" />
</Parameters>
<Docs>
<param name="progress">The fraction of the length of this <see cref="T:System.Windows.Media.PathGeometry" />.</param>
<param name="point">When this method returns, contains the location on this <see cref="T:System.Windows.Media.PathGeometry" /> at the specified fraction of its length. This parameter is passed uninitialized.</param>
<param name="tangent">When this method returns, contains the tangent vector. This parameter is passed uninitialized.</param>
<summary>Gets the <see cref="T:System.Windows.Point" /> and a tangent vector on this <see cref="T:System.Windows.Media.PathGeometry" /> at the specified fraction of its length.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public override bool IsEmpty ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsEmpty() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.IsEmpty" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function IsEmpty () As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override bool IsEmpty();" />
<MemberSignature Language="F#" Value="override this.IsEmpty : unit -&gt; bool" Usage="pathGeometry.IsEmpty " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Determines whether this <see cref="T:System.Windows.Media.PathGeometry" /> object is empty.</summary>
<returns>
<see langword="true" /> if this <see cref="T:System.Windows.Media.PathGeometry" /> is empty; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MayHaveCurves">
<MemberSignature Language="C#" Value="public override bool MayHaveCurves ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool MayHaveCurves() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.MayHaveCurves" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function MayHaveCurves () As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override bool MayHaveCurves();" />
<MemberSignature Language="F#" Value="override this.MayHaveCurves : unit -&gt; bool" Usage="pathGeometry.MayHaveCurves " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Determines whether this <see cref="T:System.Windows.Media.PathGeometry" /> object may have curved segments.</summary>
<returns>
<see langword="true" /> if this <see cref="T:System.Windows.Media.PathGeometry" /> object may have curved segments; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnChanged">
<MemberSignature Language="C#" Value="protected override void OnChanged ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnChanged() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PathGeometry.OnChanged" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnChanged ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnChanged();" />
<MemberSignature Language="F#" Value="override this.OnChanged : unit -&gt; unit" Usage="pathGeometry.OnChanged " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.