Enumerations

The following enumerations are available globally.

  • The shape to be used at the ends of lines.

    • butt: Line is squared off at path endpoint.
    • round: End of line becomes a semicircle whose center is at path endpoint.
    • projectingSquare: Line continues beyond endpoint, goes on half the endpoint stroke width.
    See more

    Declaration

    Swift

    public enum LineCap : UInt32
  • Line join style.

    • miter: A join with a sharp (angled) corner.
    • round: A join with a rounded end.
    • bevel: A join with a squared-off end.
    See more

    Declaration

    Swift

    public enum LineJoin : UInt32
  • A profile that specifies how to interpret a color value for display.

    See more

    Declaration

    Swift

    public enum PDFColorSpace : UInt32