A class representing a shadow.
Default constructor. |
|
Adds a border flag. |
|
Applies the border to this object, but not if the same as compareWith. |
|
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. |
|
Partial equality test. |
|
Gets the shadow blur distance. |
|
Gets the colour. |
|
Gets the colour as a long. |
|
Returns the border flags. |
|
Gets the shadow horizontal offset. |
|
Gets the shadow vertical offset. |
|
Gets the shadow opacity. |
|
Gets the shadow spread size. |
|
True if the shadow has a valid colour. |
|
True if the shadow has no attributes set. |
|
Returns |
|
Removes a border flag. |
|
Removes the specified attributes from this object. |
|
Resets the shadow. |
|
Sets the shadow blur distance. |
|
Sets the shadow colour. |
|
Sets the border flags. |
|
Sets the shadow horizontal offset. |
|
Sets the shadow vertical offset. |
|
Sets the shadow opacity. |
|
Sets the shadow spread size. |
|
Sets the valid flag. |
|
Equality operator. |
See |
|
See |
|
See |
|
See |
|
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Possible constructors:
TextAttrShadow() -> None
A class representing a shadow.
Default constructor.
None
Adds a border flag.
flag (int)
None
Applies the border to this object, but not if the same as compareWith.
shadow (wx.richtext.TextAttrShadow)
compareWith (wx.richtext.TextAttrShadow)
bool
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.
attr (wx.richtext.TextAttrShadow)
clashingAttr (wx.richtext.TextAttrShadow)
absentAttr (wx.richtext.TextAttrShadow)
None
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.
shadow (wx.richtext.TextAttrShadow)
weakTest (bool)
bool
Gets the shadow blur distance.
Gets the colour as a long.
int
Returns the border flags.
int
Gets the shadow horizontal offset.
Gets the shadow vertical offset.
Gets the shadow opacity.
Gets the shadow spread size.
True if the shadow has a valid colour.
bool
True if the shadow has no attributes set.
bool
Returns True
if the dimension is valid.
bool
Removes a border flag.
flag (int)
None
Removes the specified attributes from this object.
attr (wx.richtext.TextAttrShadow)
bool
Resets the shadow.
None
Sets the shadow blur distance.
None
Sets the shadow colour.
SetColour (self, colour : int)
colour (long)
None
SetColour (self, colour : Colour)
colour (wx.Colour)
None
Sets the border flags.
flags (int)
None
Sets the shadow horizontal offset.
offset (wx.richtext.TextAttrDimension)
None
Sets the shadow vertical offset.
offset (wx.richtext.TextAttrDimension)
None
Sets the shadow opacity.
opacity (wx.richtext.TextAttrDimension)
None
Sets the shadow spread size.
spread (wx.richtext.TextAttrDimension)
None
Sets the valid flag.
b (bool)
None
Equality operator.
shadow (wx.richtext.TextAttrShadow)
See GetBlurDistance
and SetBlurDistance
See GetColourLong
See GetOffsetX
and SetOffsetX
See GetOffsetY
and SetOffsetY
See GetOpacity
and SetOpacity
A public C++ attribute of type TextAttrDimension
.
A public C++ attribute of type int
.
A public C++ attribute of type TextAttrDimension
.
A public C++ attribute of type TextAttrDimension
.
A public C++ attribute of type TextAttrDimension
.
A public C++ attribute of type long
.
A public C++ attribute of type TextAttrDimension
.