Table Of Contents

Previous topic

Spline

Next topic

Text

This Page

phoenix_title SquarePoint

The SquarePoint class takes a 2-tuple, or a (2,) NumPy array of point coordinates. It produces a square dot, centered on Point

The Size is in screen points, not world coordinates, so the Bounding box is just the point, and doesn’t include the Size.

The HitLineWidth is used as diameter for the Hit Test.


class_hierarchy Inheritance Diagram

Inheritance diagram for class SquarePoint

Inheritance diagram of SquarePoint


method_summary Methods Summary

__init__  
SetSize  

api Class API



class SquarePoint(XYObjectMixin, ColorOnlyMixin, DrawObject)

The SquarePoint class takes a 2-tuple, or a (2,) NumPy array of point coordinates. It produces a square dot, centered on Point

The Size is in screen points, not world coordinates, so the Bounding box is just the point, and doesn’t include the Size.

The HitLineWidth is used as diameter for the Hit Test.


Methods



__init__(self, Point, Color = "Black", Size = 4, InForeground = False)


SetSize(self, Size)