phoenix_title wx.lib.agw.cubecolourdialog.LineDescription

Simple class to store description and constants for a line in 2D space.


class_hierarchy Class Hierarchy

Inheritance diagram for class LineDescription:

method_summary Methods Summary

__init__

Default class constructor.


api Class API

class LineDescription(object)

Simple class to store description and constants for a line in 2D space.


Methods

__init__(self, x=0, y=0, slope=None, c=None)

Default class constructor.

Used internally. Do not call it in your code!

Parameters
  • x – the x coordinate of the first point;

  • y – the y coordinate of the first point;

  • slope – the line’s slope;

  • c – a floating point constant.