.. include:: headings.inc .. currentmodule:: lib.agw.cubecolourdialog .. highlight:: python .. _lib.agw.cubecolourdialog.LineDescription: ========================================================================================================================================== |phoenix_title| **LineDescription** ========================================================================================================================================== Simple class to store description and constants for a line in 2D space. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **LineDescription** .. raw:: html

Inheritance diagram of LineDescription

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.agw.cubecolourdialog.LineDescription.__init__` Default class constructor. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: LineDescription(object) Simple class to store description and constants for a line in 2D space. .. method:: __init__(self, x=0, y=0, slope=None, c=None) Default class constructor. Used internally. Do not call it in your code! :param `x`: the x coordinate of the first point; :param `y`: the y coordinate of the first point; :param `slope`: the line's slope; :param `c`: a floating point constant.