Class: Wx::RTC::TextAttrSize

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

Overview

Note:

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

A class for representing width and height.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initializeWx::RTC::TextAttrSize

Default constructor.



2536
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2536

def initialize; end

Instance Method Details

#==(size) ⇒ Boolean

Equality operator.

Parameters:

Returns:

  • (Boolean)


2545
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2545

def ==(size) end

#apply(dims, compareWith = nil) ⇒ Boolean

Apply to this object, but not if the same as compareWith.

Parameters:

Returns:

  • (Boolean)


2559
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2559

def apply(dims, compareWith=nil) end

#collect_common_attributes(attr, clashingAttr, absentAttr) ⇒ void

This method returns an undefined value.

Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects.

Parameters:



2566
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2566

def collect_common_attributes(attr, clashingAttr, absentAttr) end

#eq_partial(size, weakTest = true) ⇒ Boolean

Partial equality test.

If weakTest is true, attributes of this object do not have to be present if those attributes of size are present. If weakTest is false, the function will fail if an attribute is present in size but not in this object.

Parameters:

Returns:

  • (Boolean)


2553
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2553

def eq_partial(size, weakTest=true) end

#get_heightWx::RTC::TextAttrDimension Also known as: height



2595
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2595

def get_height; end

#get_widthWx::RTC::TextAttrDimension Also known as: width



2574
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2574

def get_width; end

#is_validBoolean Also known as: valid?

Is the size valid?

Returns:

  • (Boolean)


2617
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2617

def is_valid; end

#remove_style(attr) ⇒ Boolean

Removes the specified attributes from this object.

Parameters:

Returns:

  • (Boolean)


2571
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2571

def remove_style(attr) end

#resetvoid

This method returns an undefined value.

Resets the width and height dimensions.



2540
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2540

def reset; end

#set_height(value, flags) ⇒ void #set_height(value, units) ⇒ void #set_height(dim) ⇒ void Also known as: height=

Overloads:

  • #set_height(value, flags) ⇒ void

    This method returns an undefined value.

    Sets the height.

    Parameters:

    • value (Integer)
    • flags (Wx::TextAttrDimensionFlags)
  • #set_height(value, units) ⇒ void

    This method returns an undefined value.

    Sets the height.

    Parameters:

    • value (Integer)
    • units (Wx::TextAttrUnits)
  • #set_height(dim) ⇒ void

    This method returns an undefined value.

    Sets the height.

    Parameters:



2612
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2612

def set_height(*args) end

#set_width(value, flags) ⇒ void #set_width(value, units) ⇒ void #set_width(dim) ⇒ void Also known as: width=

Overloads:

  • #set_width(value, flags) ⇒ void

    This method returns an undefined value.

    Sets the width.

    Parameters:

    • value (Integer)
    • flags (Wx::TextAttrDimensionFlags)
  • #set_width(value, units) ⇒ void

    This method returns an undefined value.

    Sets the width.

    Parameters:

    • value (Integer)
    • units (Wx::TextAttrUnits)
  • #set_width(dim) ⇒ void

    This method returns an undefined value.

    Sets the width.

    Parameters:



2591
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2591

def set_width(*args) end