Files
playdate-kit/Sources/PlaydateKit/Graphics/Enumerations/LineCapStyle.swift
T

15 lines
406 B
Swift
Raw Normal View History

internal import CPlaydate
extension Graphics {
2026-09-18 13:15:08 +00:00
/// Line end caps. Wraps `LCDLineCapStyle`.
public enum LineCapStyle: UInt32, Sendable {
2026-09-18 13:15:08 +00:00
/// Flat, ending at the endpoint.
case butt = 0
2026-09-18 13:15:08 +00:00
/// Square, extending past the endpoint.
case square = 1
case round = 2
var cValue: LCDLineCapStyle { LCDLineCapStyle(LCDLineCapStyle.RawValue(rawValue)) }
}
}