CompositionStrokeCap Enum
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.
Defines constants that specify the shape at the end of a line or segment.
public enum class CompositionStrokeCap
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
enum class CompositionStrokeCap
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompositionStrokeCap
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum CompositionStrokeCap
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompositionStrokeCap
var value = Microsoft.UI.Composition.CompositionStrokeCap.flat
Public Enum CompositionStrokeCap
- Inheritance
-
CompositionStrokeCap
- Attributes
Fields
Name | Value | Description |
---|---|---|
Flat | 0 | A cap that does not extend past the last point of the line. |
Square | 1 | Half of a square that has a length equal to the line thickness. |
Round | 2 | A semicircle that has a diameter equal to the line thickness. |
Triangle | 3 | An isosceles right triangle whose hypotenuse is equal in length to the thickness of the line. |