.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. currentmodule:: wx.lib.floatcanvas.FCObjects
.. highlight:: python
.. _wx.lib.floatcanvas.FCObjects.DotGrid:
==========================================================================================================================================
|phoenix_title| **wx.lib.floatcanvas.FCObjects.DotGrid**
==========================================================================================================================================
An example of a Grid Object -- it is set on the FloatCanvas with one of::
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
It will be drawn every time, regardless of the viewport.
In its _Draw method, it computes what to draw, given the ViewPortBB
of the Canvas it's being drawn on.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
DotGrid:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.lib.floatcanvas.FCObjects.DotGrid.__init__` Initialize self. See help(type(self)) for accurate signature.
:meth:`~wx.lib.floatcanvas.FCObjects.DotGrid.CalcPoints`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: DotGrid
An example of a Grid Object -- it is set on the FloatCanvas with one of::
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
It will be drawn every time, regardless of the viewport.
In its _Draw method, it computes what to draw, given the ViewPortBB
of the Canvas it's being drawn on.
.. method:: __init__(self, Spacing, Size = 2, Color = "Black", Cross=False, CrossThickness = 1)
Initialize self. See help(type(self)) for accurate signature.
.. method:: CalcPoints(self, Canvas)