This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line.
Copies from obj. |
|
Returns the absolute object position. |
|
Returns the absolute range. |
|
Returns the stored descent. |
|
Returns the parent paragraph. |
|
Returns the object position relative to the parent. |
|
Returns the range. |
|
Returns the rectangle enclosing the line. |
|
Returns the line size as calculated by Layout. |
|
Initialises the object. |
|
Sets the stored descent. |
|
Sets the object position relative to the parent. |
|
Sets the range associated with this line. |
|
Sets the line size as calculated by Layout. |
See |
|
See |
|
See |
|
See |
|
See |
|
Possible constructors:
RichTextLine(parent : RichTextParagraph) -> None
RichTextLine(obj : RichTextLine) -> None
This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line.
__init__ (self, parent : RichTextParagraph)
parent (wx.richtext.RichTextParagraph)
None
__init__ (self, obj : RichTextLine)
obj (wx.richtext.RichTextLine)
None
Copies from obj.
obj (wx.richtext.RichTextLine)
None
Returns the absolute object position.
Point
Returns the absolute range.
Returns the stored descent.
int
Returns the parent paragraph.
Returns the object position relative to the parent.
Point
Returns the range.
Initialises the object.
parent (wx.richtext.RichTextParagraph)
None
Sets the stored descent.
descent (int)
None
Sets the object position relative to the parent.
pos (wx.Point)
None
Sets the range associated with this line.
SetRange (self, range : RichTextRange)
range (wx.richtext.RichTextRange)
None
SetRange (self, from_ : int, to_ : int)
from_ (long)
to_ (long)
None
Sets the line size as calculated by Layout.
sz (wx.Size)
None
See GetAbsoluteRange
See GetDescent
and SetDescent
See GetPosition
and SetPosition