Class: Wx::RTC::RichTextLine

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/rtc/rich_text_composite_object.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

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.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initialize(parent) ⇒ Wx::RTC::RichTextLine #initialize(obj) ⇒ Wx::RTC::RichTextLine

Returns a new instance of RichTextLine.

Overloads:



448
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 448

def initialize(*args) end

Instance Method Details

#cloneWx::RTC::RichTextLine



531
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 531

def clone; end

#copy(obj) ⇒ void

This method returns an undefined value.

Copies from obj.

Parameters:



528
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 528

def copy(obj) end

#get_absolute_positionWx::Point Also known as: absolute_position

Returns the absolute object position.

Returns:



501
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 501

def get_absolute_position; end

#get_absolute_rangeRange Also known as: absolute_range

Returns the absolute range.

Returns:

  • (Range)


474
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 474

def get_absolute_range; end

#get_descentInteger Also known as: descent

Returns the stored descent.

Returns:

  • (Integer)


517
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 517

def get_descent; end

#get_parentWx::RTC::RichTextParagraph Also known as: parent

Returns the parent paragraph.



464
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 464

def get_parent; end

#get_positionWx::Point Also known as: position

Returns the object position relative to the parent.

Returns:



490
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 490

def get_position; end

#get_rangeRange Also known as: range

Returns the range.

Returns:

  • (Range)


469
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 469

def get_range; end

#get_rectWx::Rect Also known as: rect

Returns the rectangle enclosing the line.

Returns:



506
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 506

def get_rect; end

#get_sizeWx::Size Also known as: size

Returns the line size as calculated by Layout.

Returns:



479
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 479

def get_size; end

#init(parent) ⇒ void

This method returns an undefined value.

Initialises the object.

Parameters:



523
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 523

def init(parent) end

#set_descent(descent) ⇒ void Also known as: descent=

This method returns an undefined value.

Sets the stored descent.

Parameters:

  • descent (Integer)


512
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 512

def set_descent(descent) end

#set_position(pos) ⇒ void Also known as: position=

This method returns an undefined value.

Sets the object position relative to the parent.

Parameters:



496
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 496

def set_position(pos) end

#set_range(range) ⇒ void #set_range(from, to) ⇒ void Also known as: range=

Overloads:

  • #set_range(range) ⇒ void

    This method returns an undefined value.

    Sets the range associated with this line.

    Parameters:

    • range (Range)
  • #set_range(from, to) ⇒ void

    This method returns an undefined value.

    Sets the range associated with this line.

    Parameters:

    • from (Integer)
    • to (Integer)


459
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 459

def set_range(*args) end

#set_size(sz) ⇒ void Also known as: size=

This method returns an undefined value.

Sets the line size as calculated by Layout.

Parameters:

  • sz (Array(Integer, Integer), Wx::Size)


485
# File 'lib/wx/doc/gen/rtc/rich_text_composite_object.rb', line 485

def set_size(sz) end