StreamGeometryContext.BeginFigure(Point, Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- isFilled
- Boolean
true
to use the area contained by this figure for hit-testing, rendering, and clipping; otherwise, false
.
- isClosed
- 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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기