Skip to content

Commit

Permalink
typing: add enum variables
Browse files Browse the repository at this point in the history
  • Loading branch information
YishiMichael committed Oct 17, 2023
1 parent 103cbb4 commit 34203ee
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions python/pyclipr/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,55 @@ import numpy as np
import numpy.typing as npt


class PathType: ...
class PathType:
Subject: PathType = ...
Clip: PathType = ...

Subject: PathType = ...
Clip: PathType = ...


class ClipType: ...
class ClipType:
Union: ClipType = ...
Difference: ClipType = ...
Intersection: ClipType = ...
Xor: ClipType = ...

Union: ClipType = ...
Difference: ClipType = ...
Intersection: ClipType = ...
Xor: ClipType = ...


class FillType: ...
class FillType:
EvenOdd: FillType = ...
NonZero: FillType = ...
Positive: FillType = ...
Negative: FillType = ...

EvenOdd: FillType = ...
NonZero: FillType = ...
Positive: FillType = ...
Negative: FillType = ...


class JoinType: ...
class JoinType:
Square: JoinType = ...
Round: JoinType = ...
Miter: JoinType = ...

Square: JoinType = ... # FIXME
Round: JoinType = ... # FIXME
Miter: JoinType = ...


class EndType: ...
class EndType:
Square: EndType = ...
Butt: EndType = ...
Joined: EndType = ...
Polygon: EndType = ...
Round: EndType = ...

Square: EndType = ... # FIXME
Butt: EndType = ...
Joined: EndType = ...
Expand Down

0 comments on commit 34203ee

Please sign in to comment.