StreamGeometryContext::BeginFigure Method (Point, Boolean, Boolean)
.NET Framework (current version)
Specifies the starting point for a new figure.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual void BeginFigure( Point startPoint, bool isFilled, bool isClosed ) abstract
Parameters
- startPoint
-
Type:
System.Windows::Point
The Point where the figure begins.
- isFilled
-
Type:
System::Boolean
true to use the area contained by this figure for hit-testing, rendering, and clipping; otherwise, false.
- isClosed
-
Type:
System::Boolean
true to close the figure; otherwise, false. For example, if two connecting lines are drawn, and isClosed is set to false, the drawing will just be of two lines but if isClosed is set to true, the two lines will be closed to create a triangle.
By calling this method multiple times, you can create multiple figures (self-contained geometric shapes) within this StreamGeometryContext.
A StreamGeometry cannot be serialized if it contains a Transform or any non-stroked or unfilled segments.
.NET Framework
Available since 3.0
Available since 3.0
Show: