Class: Shape#

The shape element contains a single specific ROI shape and links that to any channels, and a timepoint and a z-section.

It also records any transform applied to the ROI shape.

Attributes#

transform : None | AffineTransform This is a matrix used to transform the shape. The element has 6 xsd:float attributes. If the element is present then all 6 values must be included. annotation_ref : list[AnnotationRef] (The Shape AnnotationRefs). fill_color : None | Color The color of the fill - encoded as RGBA The value “-1” is #FFFFFFFF so solid white (it is a signed 32 bit value) NOTE: Prior to the 2012-06 schema the default value was incorrect and produced a transparent red not solid white. fill_rule : None | Shape_FillRule The rule used to decide which parts of the shape to fill. [enumeration] stroke_color : None | Color The color of the stroke - encoded as RGBA The value “-1” is #FFFFFFFF so solid white (it is a signed 32 bit value) NOTE: Prior to the 2012-06 schema the default value was incorrect and produced a transparent red not solid white. stroke_width : None | float The width of the stroke. Units are set by StrokeWidthUnit. stroke_width_unit : UnitsLength The units used for the stroke width. stroke_dash_array : None | str e.g. “none”, “10 20 30 10” text : None | str (The Shape Text). font_family : None | Shape_FontFamily The font family used to draw the text. [enumeration] Note: these values are all lower case so they match the standard HTML/CSS values. “fantasy” has been included for completeness; we do not recommend its regular use. This attribute is under consideration for removal from the OME-XML schema. font_size : None | int Size of the font. Units are set by FontSizeUnit. font_size_unit : UnitsLength The units used for the font size. font_style : None | Shape_FontStyle The style and weight applied to the text. [enumeration] This is a simplified combination of the HTML/CSS attributes font-style AND font- weight. locked : None | bool Controls whether the shape is locked and read only, true is locked, false is editable. id : str (The Shape ID). the_z : None | int The z-section the ROI applies to. If not specified then the ROI applies to all the z-sections of the image. [units:none] This is numbered from 0. the_t : None | int The timepoint the ROI applies to. If not specified then the ROI applies to all the timepoints of the image. [units:none] This is numbered from 0. the_c : None | int The channel the ROI applies to. If not specified then the ROI applies to all the channels of the image. [units:none] This is numbered from 0.

URI: core:Shape

img

Children#

Referenced by Class#

Attributes#

Own#