Circle

class pywwt.Circle(parent=None, center=None, **kwargs)[source]

Bases: pywwt.Annotation

A circular annotation.

Attributes Summary

fill

Whether or not the circle should be filled (bool)

fill_color

Assigns fill color for the circle (str or tuple)

line_color

Assigns line color for the circle (str or tuple)

line_width

Assigns line width in pixels (Quantity)

radius

Sets the radius for the circle (Quantity)

shape

The name of the shape (str).

Methods Summary

set_center(self, coord)

Set the center coordinates of the circle object.

Attributes Documentation

fill

Whether or not the circle should be filled (bool)

fill_color

Assigns fill color for the circle (str or tuple)

line_color

Assigns line color for the circle (str or tuple)

line_width

Assigns line width in pixels (Quantity)

radius

Sets the radius for the circle (Quantity)

shape = 'circle'

The name of the shape (str).

Methods Documentation

set_center(self, coord)[source]

Set the center coordinates of the circle object.

Parameters
coordQuantity

The coordinates of the desired center of the circle.