Class: Wx::RTC::TextAttrShadow

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 representing a shadow.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initializeWx::RTC::TextAttrShadow

Default constructor.



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

def initialize; end

Instance Method Details

#==(shadow) ⇒ Boolean

Equality operator.

Parameters:

Returns:

  • (Boolean)


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

def ==(shadow) end

#add_flag(flag) ⇒ void

This method returns an undefined value.

Adds a border flag.

Parameters:

  • flag (Integer)


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

def add_flag(flag) end

#apply(shadow, compareWith = nil) ⇒ Boolean

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

Parameters:

Returns:

  • (Boolean)


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

def apply(shadow, 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:



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

def collect_common_attributes(attr, clashingAttr, absentAttr) end

#eq_partial(shadow, weakTest = true) ⇒ Boolean

Partial equality test.

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

Parameters:

Returns:

  • (Boolean)


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

def eq_partial(shadow, weakTest=true) end

#get_blur_distanceWx::RTC::TextAttrDimension Also known as: blur_distance



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

def get_blur_distance; end

#get_colourWx::Colour Also known as: colour

Gets the colour.

Returns:



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

def get_colour; end

#get_colour_longInteger Also known as: colour_long

Gets the colour as a long.

Returns:

  • (Integer)


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

def get_colour_long; end

#get_flagsInteger Also known as: flags

Returns the border flags.

Returns:

  • (Integer)


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

def get_flags; end

#get_offset_xWx::RTC::TextAttrDimension Also known as: offset_x



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

def get_offset_x; end

#get_offset_yWx::RTC::TextAttrDimension Also known as: offset_y



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

def get_offset_y; end

#get_opacityWx::RTC::TextAttrDimension Also known as: opacity



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

def get_opacity; end

#get_spreadWx::RTC::TextAttrDimension Also known as: spread



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

def get_spread; end

#has_colourBoolean Also known as: has_colour?

True if the shadow has a valid colour.

Returns:

  • (Boolean)


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

def has_colour; end

#is_defaultBoolean Also known as: default?

True if the shadow has no attributes set.

Returns:

  • (Boolean)


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

def is_default; end

#is_validBoolean Also known as: valid?

Returns true if the dimension is valid.

Returns:

  • (Boolean)


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

def is_valid; end

#remove_flag(flag) ⇒ void

This method returns an undefined value.

Removes a border flag.

Parameters:

  • flag (Integer)


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

def remove_flag(flag) end

#remove_style(attr) ⇒ Boolean

Removes the specified attributes from this object.

Parameters:

Returns:

  • (Boolean)


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

def remove_style(attr) end

#resetvoid

This method returns an undefined value.

Resets the shadow.



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

def reset; end

#set_blur_distance(blur) ⇒ void Also known as: blur_distance=

This method returns an undefined value.

Sets the shadow blur distance.

Parameters:



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

def set_blur_distance(blur) end

#set_colour(colour) ⇒ void #set_colour(colour) ⇒ void Also known as: colour=

Overloads:

  • #set_colour(colour) ⇒ void

    This method returns an undefined value.

    Sets the shadow colour.

    Parameters:

    • colour (Integer)
  • #set_colour(colour) ⇒ void

    This method returns an undefined value.

    Sets the shadow colour.

    Parameters:



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

def set_colour(*args) end

#set_flags(flags) ⇒ void Also known as: flags=

This method returns an undefined value.

Sets the border flags.

Parameters:

  • flags (Integer)


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

def set_flags(flags) end

#set_offset_x(offset) ⇒ void Also known as: offset_x=

This method returns an undefined value.

Sets the shadow horizontal offset.

Parameters:



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

def set_offset_x(offset) end

#set_offset_y(offset) ⇒ void Also known as: offset_y=

This method returns an undefined value.

Sets the shadow vertical offset.

Parameters:



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

def set_offset_y(offset) end

#set_opacity(opacity) ⇒ void Also known as: opacity=

This method returns an undefined value.

Sets the shadow opacity.

Parameters:



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

def set_opacity(opacity) end

#set_spread(spread) ⇒ void Also known as: spread=

This method returns an undefined value.

Sets the shadow spread size.

Parameters:



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

def set_spread(spread) end

#set_valid(b) ⇒ void Also known as: valid=

This method returns an undefined value.

Sets the valid flag.

Parameters:

  • b (Boolean)


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

def set_valid(b) end