CompositionStrokeCap Enum

Definition

Defines constants that specify the shape at the end of a line or segment.

public enum class CompositionStrokeCap
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class CompositionStrokeCap
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum CompositionStrokeCap
Public Enum CompositionStrokeCap
Inheritance
CompositionStrokeCap
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Flat 0

A cap that does not extend past the last point of the line.

Round 2

A semicircle that has a diameter equal to the line thickness.

Square 1

Half of a square that has a length equal to the line thickness.

Triangle 3

An isosceles right triangle whose hypotenuse is equal in length to the thickness of the line.

Applies to