StreamGeometryContext.BeginFigure(Point, Boolean, Boolean) StreamGeometryContext.BeginFigure(Point, Boolean, Boolean) StreamGeometryContext.BeginFigure(Point, Boolean, Boolean) StreamGeometryContext.BeginFigure(Point, Boolean, Boolean) Method

Definition

Specifies the starting point for a new figure.

public:
 abstract void BeginFigure(System::Windows::Point startPoint, bool isFilled, bool isClosed);
public abstract void BeginFigure (System.Windows.Point startPoint, bool isFilled, bool isClosed);
abstract member BeginFigure : System.Windows.Point * bool * bool -> unit
Public MustOverride Sub BeginFigure (startPoint As Point, isFilled As Boolean, isClosed As Boolean)
Parameters
startPoint
Point Point Point Point

The Point where the figure begins.

isFilled
Boolean Boolean Boolean Boolean

true to use the area contained by this figure for hit-testing, rendering, and clipping; otherwise, false.

isClosed
Boolean Boolean Boolean 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.

Remarks

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.

Applies to