Skip to content

ENH: Support transparency channel (RGBA) in annotations interiour_color #2201

Open
@vors

Description

@vors

Explanation

I'd like to do highlighting of a certain parts of the pdf, but I want it to be transept so the original pdf is readable.
The proposal is to support RGBA in annotation to allow for it

Code Example

How would your feature be used? (Remove this if it is not applicable.)

  annotation = annotation_builder.rectangle(
      rect=(x[0], y[0], x[0] + 10, y[0] + 30),
      # transparency part of the RGBA is currently ignored, can we support it?
      interiour_color="f1e740aa",
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions