PathAddPath Method

Adds the figures of another Path instance to this Path.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Path AddPath(
	Path path,
	bool connect
)

Parameters

path  Path
The Path instance to add to this Path.
connect  Boolean
to connect the last figure of this Path to the first figure of the added path; otherwise, . If the last figure of this Path is closed or empty, this parameter is ignored.

Return Value

Path
This Path instance.

Remarks

The original Path instance remains intact.

The current Transformation is applied to the added figures.

Exceptions

See Also