Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drawBot/context/baseContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2364,6 +2364,7 @@ class BaseContext:
sRGB=AppKit.NSColorSpace.sRGBColorSpace(),
genericGray=AppKit.NSColorSpace.genericGrayColorSpace(),
genericGamma22Gray=AppKit.NSColorSpace.genericGamma22GrayColorSpace(),
displayP3=AppKit.NSColorSpace.displayP3ColorSpace(),
)

_blendModeMap = dict(
Expand Down
2 changes: 1 addition & 1 deletion drawBot/drawBotDrawingTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def polygon(self, *points: Point, **kwargs: bool):
def colorSpace(self, colorSpace):
"""
Set the color space.
Options are `genericRGB`, `adobeRGB1998`, `sRGB`, `genericGray`, `genericGamma22Gray`.
Options are `genericRGB`, `adobeRGB1998`, `sRGB`, `genericGray`, `genericGamma22Gray`, `displayP3`.
The default is `genericRGB`.
`None` will reset it back to the default.

Expand Down
Loading