PathF.Close 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.
Closes the current sub-path by appending a close segment if it is not already closed.
public:
void Close();
public void Close();
member this.Close : unit -> unit
Public Sub Close ()
Remarks
Closing a path is typically required for fill operations to work correctly. Attempting to fill an unclosed path may result in undefined behavior or exceptions in some graphics implementations. A closed path ensures that the shape is properly defined for filling operations.