Class: Wx::RTC::TextAttrSize
- Inherits:
-
Object
- Object
- Wx::RTC::TextAttrSize
- Defined in:
- lib/wx/doc/gen/rtc/rich_text_object.rb
Overview
This class is untracked and should not be derived from nor instances extended!
A class for representing width and height.
Category: Rich Text
Instance Method Summary collapse
-
#==(size) ⇒ Boolean
Equality operator.
-
#apply(dims, compareWith = nil) ⇒ Boolean
Apply to this object, but not if the same as compareWith.
-
#collect_common_attributes(attr, clashingAttr, absentAttr) ⇒ void
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.
-
#eq_partial(size, weakTest = true) ⇒ Boolean
Partial equality test.
- #get_height ⇒ Wx::RTC::TextAttrDimension (also: #height)
- #get_width ⇒ Wx::RTC::TextAttrDimension (also: #width)
-
#initialize ⇒ Wx::RTC::TextAttrSize
constructor
Default constructor.
-
#is_valid ⇒ Boolean
(also: #valid?)
Is the size valid?.
-
#remove_style(attr) ⇒ Boolean
Removes the specified attributes from this object.
-
#reset ⇒ void
Resets the width and height dimensions.
- #set_height(*args) ⇒ Object (also: #height=)
- #set_width(*args) ⇒ Object (also: #width=)
Constructor Details
#initialize ⇒ Wx::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.
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.
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.
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.
2553 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2553 def eq_partial(size, weakTest=true) end |
#get_height ⇒ Wx::RTC::TextAttrDimension Also known as: height
2595 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2595 def get_height; end |
#get_width ⇒ Wx::RTC::TextAttrDimension Also known as: width
2574 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2574 def get_width; end |
#is_valid ⇒ Boolean Also known as: valid?
Is the size valid?
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.
2571 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2571 def remove_style(attr) end |
#reset ⇒ void
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=
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=
2591 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2591 def set_width(*args) end |