テキストのスタイル
More...
#include <TextStyle.hpp>
|
| static constexpr TextStyle | Default () noexcept |
| | デフォルトのスタイルを返します。 More...
|
| |
| static constexpr TextStyle | CustomShader () noexcept |
| | カスタムシェーダ用のスタイルを返します。 More...
|
| |
| static constexpr TextStyle | Outline (double p, const ColorF &color) noexcept |
| | 輪郭付きのスタイルを返します。 More...
|
| |
| static constexpr TextStyle | Outline (double inner, double outer, const ColorF &color) noexcept |
| | 輪郭付きのスタイルを返します。 More...
|
| |
| static constexpr TextStyle | Shadow (const Vec2 &offset, const ColorF &color) noexcept |
| | シャドウ付きのスタイルを返します。 More...
|
| |
| static constexpr TextStyle | OutlineShadow (double p, const ColorF &outlineColor, const Vec2 &offset, const ColorF &shadowColor) noexcept |
| | 輪郭とシャドウ付きのスタイルを返します。 More...
|
| |
| static constexpr TextStyle | OutlineShadow (double inner, double outer, const ColorF &outlineColor, const Vec2 &offset, const ColorF &shadowColor) noexcept |
| | 輪郭とシャドウ付きのスタイルを返します。 More...
|
| |
◆ Type
| Enumerator |
|---|
| Default | |
| Outline | |
| Shadow | |
| OutlineShadow | |
| CustomShader | |
◆ CustomShader()
| static constexpr TextStyle s3d::TextStyle::CustomShader |
( |
| ) |
|
|
staticconstexprnoexcept |
カスタムシェーダ用のスタイルを返します。
- Returns
- カスタムシェーダ用のスタイル
◆ Default()
| static constexpr TextStyle s3d::TextStyle::Default |
( |
| ) |
|
|
staticconstexprnoexcept |
デフォルトのスタイルを返します。
- Returns
- デフォルトのスタイル
◆ Outline() [1/2]
| static constexpr TextStyle s3d::TextStyle::Outline |
( |
double |
inner, |
|
|
double |
outer, |
|
|
const ColorF & |
color |
|
) |
| |
|
staticconstexprnoexcept |
輪郭付きのスタイルを返します。
- Parameters
-
| inner | 内側の輪郭の太さを示すパラメータ |
| outer | 外側の輪郭の太さを示すパラメータ |
| color | 輪郭の色 |
- Returns
- 輪郭付きのスタイル
◆ Outline() [2/2]
| static constexpr TextStyle s3d::TextStyle::Outline |
( |
double |
p, |
|
|
const ColorF & |
color |
|
) |
| |
|
staticconstexprnoexcept |
輪郭付きのスタイルを返します。
- Parameters
-
- Returns
- 輪郭付きのスタイル
◆ OutlineShadow() [1/2]
| static constexpr TextStyle s3d::TextStyle::OutlineShadow |
( |
double |
inner, |
|
|
double |
outer, |
|
|
const ColorF & |
outlineColor, |
|
|
const Vec2 & |
offset, |
|
|
const ColorF & |
shadowColor |
|
) |
| |
|
staticconstexprnoexcept |
輪郭とシャドウ付きのスタイルを返します。
- Parameters
-
| inner | 内側の輪郭の太さを示すパラメータ |
| outer | 外側の輪郭の太さを示すパラメータ |
| outlineColor | 輪郭の色 |
| offset | シャドウのオフセットを示すパラメータ |
| shadowColor | シャドウの色 |
- Returns
- 輪郭とシャドウ付きのスタイル
◆ OutlineShadow() [2/2]
| static constexpr TextStyle s3d::TextStyle::OutlineShadow |
( |
double |
p, |
|
|
const ColorF & |
outlineColor, |
|
|
const Vec2 & |
offset, |
|
|
const ColorF & |
shadowColor |
|
) |
| |
|
staticconstexprnoexcept |
輪郭とシャドウ付きのスタイルを返します。
- Parameters
-
| p | 輪郭の太さを示すパラメータ |
| outlineColor | 輪郭の色 |
| offset | シャドウのオフセットを示すパラメータ |
| shadowColor | シャドウの色 |
- Returns
- 輪郭とシャドウ付きのスタイル
◆ Shadow()
| static constexpr TextStyle s3d::TextStyle::Shadow |
( |
const Vec2 & |
offset, |
|
|
const ColorF & |
color |
|
) |
| |
|
staticconstexprnoexcept |
シャドウ付きのスタイルを返します。
- Parameters
-
| offset | シャドウのオフセットを示すパラメータ |
| color | シャドウの色 |
- Returns
- シャドウ付きのスタイル
◆ outlineColor
| Float4 s3d::TextStyle::outlineColor = { 0.0f, 0.0f, 0.0f, 1.0f } |
◆ param
| Float4 s3d::TextStyle::param = { 0.5f, 0.5f, 0.0f, 0.0f } |
◆ shadowColor
| Float4 s3d::TextStyle::shadowColor = { 0.0f, 0.0f, 0.0f, 0.5f } |
◆ type
The documentation for this struct was generated from the following file: