AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.ALIGN_H_LEFT

Variable  -  Const

Type

const int

Description

Align text to the left when printing with RB.Print, or measuring with RB.PrintMeasure.

This flag can be logically OR'ed with other alignment flags.

Example

void Render()
{
    // Draw text aligned to the bottom-left corner of the screen
    RB.Print(
        new Rect2i(00RB.DisplaySize),
        Color.white,
        RB.ALIGN_H_LEFT | RB.ALIGN_V_BOTTOM,
        "Hello there!");
}

See Also

RB.Print
RB.PrintMeasure

See Docs

Features - Text Alignment