Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Add cap and join style to bezier path. #1

@fdb

Description

@fdb

The BezierPath class should support cap style (butt, round or square) and join style (miter, round, bevel).

NSBezierPath implements cap style and join style, so supporting this is a matter of making the attributes available in the appropriate places:

  • The cap style and join style should be context state variables, available under capstyle() and joinstyle()
  • The BezierPath should inherit these state variables when creating a new bezier path.
  • The BezierPath should have getters / setters for cap style and join style.
  • The BezierPath constructor should accept capstyle and joinstyle arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions