Kraken Logo

Kraken Engine

DocumentationGuidesShowcaseCommunity
Ctrl
K
Navigating the Docs
Building Docs
Overview
Anchor
AnimationController
Audio
Batcher
Body
Camera
Capsule
CastHit
CharacterBody
Circle
Collision
Color
DistanceJoint
Effect
Event
FilterJoint
Flip (Texture)
Font
ImageLayer
InputAction
Joint
Layer
Line
Map
MapObject
Mask
MotorJoint
MouseJoint
ObjectGroup
Orchestrator
PixelArray
PolarCoordinate
Polygon
PrismaticJoint
Rect
RevoluteJoint
RigidBody
Sample
Sampler
Shader
SheetStrip
StaticBody
Stream
Style
Terrain (TileSet)
Text
TextProperties
Texture
Tile (TileLayer)
Tile (TileSet)
TileLayer
TileResult (TileLayer)
TileSet
Timer
Transform
Tween
Vec2
Vertex
WeldJoint
WheelJoint
World

Built bydurkisneer1.Kraken Engine is open source and available onGitHub.

  1. Docs
  2. Classes
  3. Text Properties

TextProperties

TextProperties holds styling for text objects on the map. Access via the 'tilemap' submodule.

Properties


NameDescriptionType
font_familyFont family name.str
pixel_sizeFont size in pixels.int
wrapWhether text wrapping is enabled.bool
colorText color.Color
boldBold style flag.bool
italicItalic style flag.bool
underlineUnderline style flag.bool
strikethroughStrikethrough style flag.bool
kerningKerning enabled flag.bool
alignHorizontal text alignment.TextAlign
textText content.str
PreviousText
NextTexture

On this page

Properties