![]() |
|
汎用的に使える文字列描画クラス Graphics.DrawString 系のメソッドでより簡単に使えるので、通常はそちらの利用をおすすめします。 [詳解]
公開型 | |
enum | HorizontalAlignment { Left , Right , Center } |
平行方向の設定 [詳解] | |
enum | VerticalAlignment { Top , Bottom , Center } |
垂直方向の設定 [詳解] | |
公開メンバ関数 | |
TextDrawer (int fontId=0) | |
void | Update () |
void | DrawStringSoloColor (string text, Vector2 position, Color color, int zOrder=0) |
void | DrawStringSoloColor (string text, Vector2 position, Color color, float scale, int zOrder=0) |
void | DrawString (string text, Vector2 position, Color color, float scale, int zOrder, bool bold, bool italic, bool useOutline) |
void | DrawStringSoloColor (string text, Vector2 position, Color color, bool useClip, float scale=1.0f, int zOrder=0) |
void | DrawStringSoloColor (string text, Vector2 position, Color color, bool useClip, float scale, int zOrder, bool bold, bool italic) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, int zOrder=0) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, float scale, int zOrder=0) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, float scale, int zOrder, bool bold, bool italic) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, bool useClip, float scale=1.0f, int zOrder=0) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Color color, bool useClip, float scale, int zOrder, bool bold, bool italic) |
void | DrawStringSoloColor (string text, Vector2 position, int width, HorizontalAlignment alignment, Color color, float scale=1.0f) |
void | DrawStringSoloColor (string text, Vector2 position, int height, VerticalAlignment alignment, Color color, float scale=1.0f) |
void | DrawStringSoloColor (string text, Vector2 position, int height, VerticalAlignment alignment, Color color, bool useClip, float scale=1.0f) |
void | DrawStringSoloColor (string text, Vector2 position, HorizontalAlignment alignment, Color color) |
void | DrawStringSoloColor (string text, Vector2 position, int width, HorizontalAlignment alignment, Color color, bool useClip, float scale=1.0f) |
void | DrawStringSoloColor (string text, Vector2 position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f, int zOrder=0) |
void | DrawStringSoloColor (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale, bool bold, bool italic) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale=1.0f) |
void | DrawStringSoloColor (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale, bool bold, bool italic) |
void | DrawStringSoloColor (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale=1.0f) |
void | DrawString (string text, Vector2 position, Color color, int zOrder=0) |
void | DrawString (string text, Vector2 position, Color color, bool useClip, float scale=1.0f, int zOrder=0) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Color color, int zOrder=0) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Color color, float scale, int zOrder=0) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Color color, bool useClip, float scale, int zOrder=0) |
void | DrawString (string text, Vector2 position, HorizontalAlignment alignment, Color color) |
void | DrawString (string text, Vector2 position, VerticalAlignment alignment, Color color) |
void | DrawString (string text, Vector2 position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f) |
void | DrawString (string text, Vector2 position, int width, HorizontalAlignment alignment, Color color, float scale=1.0f) |
void | DrawString (string text, Vector2 position, int width, HorizontalAlignment alignment, Color color, bool useClip, float scale=1.0f) |
void | DrawString (string text, Vector2 position, int height, VerticalAlignment alignment, Color color, float scale=1.0f) |
void | DrawString (string text, Vector2 position, int height, VerticalAlignment alignment, Color color, bool useClip, float scale=1.0f) |
void | DrawString (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f) |
void | DrawString (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale=1.0f) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale=1.0f) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale=1.0f) |
void | DrawString (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, Color color, float scale, int zOrder, bool bold, bool italic, bool useOutline) |
void | DrawString (string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale, int zOrder, bool bold, bool italic, bool useOutline) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, float scale, int zOrder, bool bold, bool italic, bool useOutline) |
void | DrawString (SharpKmyGfx.Font font, string text, Vector2 position, Vector2 drawAreaSize, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, Color color, bool useClip, float scale, int zOrder, bool bold, bool italic, bool useOutline) |
Vector2 | MeasureString (string text) |
Vector2 | MeasureString (SharpKmyGfx.Font font, string text) |
string[] | SplitString (string text, int width, float scale=1.0f) |
汎用的に使える文字列描画クラス Graphics.DrawString 系のメソッドでより簡単に使えるので、通常はそちらの利用をおすすめします。
Yukar.Engine.TextDrawer.TextDrawer | ( | int | fontId = 0 | ) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
float | scale, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic, | ||
bool | useOutline | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic, | ||
bool | useOutline | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f , |
||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic, | ||
bool | useOutline | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
HorizontalAlignment | alignment, | ||
Color | color | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
int | height, | ||
VerticalAlignment | alignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
int | height, | ||
VerticalAlignment | alignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
int | width, | ||
HorizontalAlignment | alignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
int | width, | ||
HorizontalAlignment | alignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
Color | color, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic, | ||
bool | useOutline | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic, | ||
bool | useOutline | ||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawString | ( | string | text, |
Vector2 | position, | ||
VerticalAlignment | alignment, | ||
Color | color | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f , |
||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
float | scale, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Color | color, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale, | ||
bool | bold, | ||
bool | italic | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale, | ||
bool | bold, | ||
bool | italic | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | SharpKmyGfx.Font | font, |
string | text, | ||
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale, | ||
int | zOrder, | ||
bool | bold, | ||
bool | italic | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f , |
||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
float | scale, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Color | color, | ||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
HorizontalAlignment | alignment, | ||
Color | color | ||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f , |
||
int | zOrder = 0 |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
int | height, | ||
VerticalAlignment | alignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
int | height, | ||
VerticalAlignment | alignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
int | width, | ||
HorizontalAlignment | alignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
int | width, | ||
HorizontalAlignment | alignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
bool | useClip, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.DrawStringSoloColor | ( | string | text, |
Vector2 | position, | ||
Vector2 | drawAreaSize, | ||
HorizontalAlignment | horizontalAlignment, | ||
VerticalAlignment | verticalAlignment, | ||
Color | color, | ||
float | scale = 1.0f |
||
) |
Vector2 Yukar.Engine.TextDrawer.MeasureString | ( | SharpKmyGfx.Font | font, |
string | text | ||
) |
Vector2 Yukar.Engine.TextDrawer.MeasureString | ( | string | text | ) |
string[] Yukar.Engine.TextDrawer.SplitString | ( | string | text, |
int | width, | ||
float | scale = 1.0f |
||
) |
void Yukar.Engine.TextDrawer.Update | ( | ) |