Skip to content

FillColor/StrokeColor of Shapes are None type #17

@JensWendt

Description

@JensWendt

Hello again,

It seems that when I upload polygon shapes (I assume with other shapes it is the same issue) from Fiji to OMERO I get FillColor and StrokeColor = None .
By itself this seems to be not a big problem as OMERO is displaying it just fine.
But if other APIs (I played with ezomero) access this property and expect an integer it can/does lead to problems.
As I can see in the docs the class ShapeData again has no distinct way to directly set those colors.
Maybe one can play around with setShapeSettings(omero.model.Shape shape), but I am not knowledgable enough to propose a solution.

PS: to achieve the same "look" we now have, the colors would be
FillColor = 0
StrokeColor = -1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions