ooodev.format.chart2.direct.axis.font package
Module contents
- class ooodev.format.chart2.direct.axis.font.FontEffects(*, color=None, transparency=None, overline=None, underline=None, strike=None, word_mode=None, case=None, relief=None, outline=None, hidden=None, shadowed=None)[source]
Bases:
FontEffects
Character Font Effects for a chart Axis.
Any properties starting with
prop_
set or get current instance values.All methods starting with
fmt_
can be used to chain together font properties.Many properties can be chained together.
See also
New in version 0.9.4.
- __init__(*, color=None, transparency=None, overline=None, underline=None, strike=None, word_mode=None, case=None, relief=None, outline=None, hidden=None, shadowed=None)[source]
Font options used in styles.
- Parameters:
color (
Color
, optional) – The value of the text color. If value is-1
the automatic color is applied.transparency (Intensity, int, optional) – The transparency value from
0
to100
for the font color.overline (FontLine, optional) – Character overline values.
underline (FontLine, optional) – Character underline values.
strike (FontStrikeoutEnum, optional) – Determines the type of the strike out of the character.
word_mode (bool, optional) – If
True
, the underline and strike-through properties are not applied to white spaces.case (CaseMapEnum, optional) – Specifies the case of the font.
relief (FontReliefEnum, optional) – Specifies the relief of the font.
outline (bool, optional) – Specifies if the font is outlined.
hidden (bool, optional) – Specifies if the font is hidden.
shadowed (bool, optional) – Specifies if the characters are formatted and displayed with a shadow effect.
- Return type:
None
See also
- class ooodev.format.chart2.direct.axis.font.FontOnly(*, name=None, size=None, font_style=None, lang=None)[source]
Bases:
FontOnly
Character Font for a chart Data point.
Any properties starting with
prop_
set or get current instance values.All methods starting with
fmt_
can be used to chain together font properties.See also
New in version 0.9.4.
- __init__(*, name=None, size=None, font_style=None, lang=None)[source]
Font options used in styles.
- Parameters:
name (str, optional) – This property specifies the name of the font style. It may contain more than one name separated by comma.
size (int, UnitT, optional) – This value contains the size of the characters in
pt
(point) units or Class UnitT.font_style (str, optional) – Font style name such as
Bold
.lang (Lang, optional) – Font Language
- Return type:
None
See also