1.24 class circle

A circle just an ellipse with equal graphical<-width and graphical<-height. It's border-line may have a graphical<-texture and graphical<-pen. The circle's interior may be filled with an image object using circle->fill.

See also
class ellipse

1.24.1 Instance variables

circle <- fill: colour|{foreground,background}*
When a fill pattern is defined, this pattern is repeated over the interior of the circle. The circle is transparent if the fill pattern equals @nil.

Defaults: @nil (transparent).

See also
bitmap-status

1.24.2 Send methods

circle ->diameter: int
Inherits description from: circle<-diameter
circle ->geometry: x=[int], y=[int], width=[int], height=[int]
Handle general resizing of the circle. If either graphical<-width or graphical<-height is specified this value is used for both parameters. If both are specified the minimum of the two is used for both.
circle ->radius: int
Inherits description from: circle<-radius
circle ->rotate: int
The only PCE class with fully implemented rotation!

1.24.3 Get methods

circle <-diameter: -> int
Sets graphical<-width and graphical<-height to this value. See also circle->radius.
circle <-radius: -> int
Half of the graphical<-width. circle->radius sets graphical<-width and graphical<-height to twice the argument.