Skip to content

Missing getBlendMode on skia.Paint objects #235

@pavpanchekha

Description

@pavpanchekha

There is a setBlendMode method on Paint objects, but no corresponding getBlendMode. Also, the BlendMode parameter to skia.Paint is not documented

To Reproduce

>>> skia.__version__
'119.0b4'
>>> skia.Paint().getBlendMode()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'skia.Paint' object has no attribute 'getBlendMode'. Did you mean: 'setBlendMode'?

To see the documentation issues, search "blendmode" on this page: https://kyamagu.github.io/skia-python/reference/skia.Paint.html
Note that the BlendMode argument to the skia.Paint constructor works, but is not documented.

Expected behavior
Like in previous releases of skia-python, the getBlendMode function should exist and be documented.

Desktop:

  • OS: macOS 14.3.1
  • Python: 3.12
  • skia-python version: 119.0b4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions