TextServerAdvanced

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2026 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsTextServerAdvanced() Instance
}

type Carets

type Carets struct {
	LeadingRect struct {
		Position struct {
			X float32
			Y float32
		}
		Size struct {
			X float32
			Y float32
		}
	} `gd:"leading_rect"`
	LeadingDirection Direction `gd:"leading_direction"`
	TrailingRect     struct {
		Position struct {
			X float32
			Y float32
		}
		Size struct {
			X float32
			Y float32
		}
	} `gd:"trailing_rect"`
	TrailingDirection Direction `gd:"trailing_direction"`
}

type Direction

type Direction = TextServer.Direction

type Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

Extension can be embedded in a new struct to create a Go extension of this class.

T must be a type that is embedding this Extension as the first field. It is unsafe and invalid to use this type directly, or embedded in any other way.

func (*Extension[T]) AsObject

func (o *Extension[T]) AsObject() [1]gdreference.Object

func (*Extension[T]) AsRefCounted

func (o *Extension[T]) AsRefCounted() ie.RC

func (*Extension[T]) AsTextServer

func (o *Extension[T]) AsTextServer() TextServer.Instance

func (*Extension[T]) AsTextServerAdvanced

func (o *Extension[T]) AsTextServerAdvanced() Instance

func (*Extension[T]) AsTextServerExtension

func (o *Extension[T]) AsTextServerExtension() TextServerExtension.Instance

func (*Extension[T]) CreateFont

func (o *Extension[T]) CreateFont() RID.Font

CreateFont is promoted from TextServer.Instance.CreateFont.

func (*Extension[T]) CreateFontLinkedVariation

func (o *Extension[T]) CreateFontLinkedVariation(font_rid RID.Font) RID.Font

CreateFontLinkedVariation is promoted from TextServer.Instance.CreateFontLinkedVariation.

func (*Extension[T]) DrawHexCodeBox

func (o *Extension[T]) DrawHexCodeBox(canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA)

DrawHexCodeBox is promoted from TextServer.Instance.DrawHexCodeBox.

func (*Extension[T]) FontClearGlyphs

func (o *Extension[T]) FontClearGlyphs(font_rid RID.Font, size Vector2i.XY)

FontClearGlyphs is promoted from TextServer.Instance.FontClearGlyphs.

func (*Extension[T]) FontClearKerningMap

func (o *Extension[T]) FontClearKerningMap(font_rid RID.Font, size int)

FontClearKerningMap is promoted from TextServer.Instance.FontClearKerningMap.

func (*Extension[T]) FontClearSizeCache

func (o *Extension[T]) FontClearSizeCache(font_rid RID.Font)

FontClearSizeCache is promoted from TextServer.Instance.FontClearSizeCache.

func (*Extension[T]) FontClearSystemFallbackCache

func (o *Extension[T]) FontClearSystemFallbackCache()

FontClearSystemFallbackCache is promoted from TextServer.Instance.FontClearSystemFallbackCache.

func (*Extension[T]) FontClearTextures

func (o *Extension[T]) FontClearTextures(font_rid RID.Font, size Vector2i.XY)

FontClearTextures is promoted from TextServer.Instance.FontClearTextures.

func (*Extension[T]) FontGetAntialiasing

func (o *Extension[T]) FontGetAntialiasing(font_rid RID.Font) TextServer.FontAntialiasing

FontGetAntialiasing is promoted from TextServer.Instance.FontGetAntialiasing.

func (*Extension[T]) FontGetAscent

func (o *Extension[T]) FontGetAscent(font_rid RID.Font, size int) Float.X

FontGetAscent is promoted from TextServer.Instance.FontGetAscent.

func (*Extension[T]) FontGetBaselineOffset

func (o *Extension[T]) FontGetBaselineOffset(font_rid RID.Font) Float.X

FontGetBaselineOffset is promoted from TextServer.Instance.FontGetBaselineOffset.

func (*Extension[T]) FontGetCharFromGlyphIndex

func (o *Extension[T]) FontGetCharFromGlyphIndex(font_rid RID.Font, size int, glyph_index int) int

FontGetCharFromGlyphIndex is promoted from TextServer.Instance.FontGetCharFromGlyphIndex.

func (*Extension[T]) FontGetDescent

func (o *Extension[T]) FontGetDescent(font_rid RID.Font, size int) Float.X

FontGetDescent is promoted from TextServer.Instance.FontGetDescent.

func (*Extension[T]) FontGetDisableEmbeddedBitmaps

func (o *Extension[T]) FontGetDisableEmbeddedBitmaps(font_rid RID.Font) bool

FontGetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontGetDisableEmbeddedBitmaps.

func (*Extension[T]) FontGetEmbolden

func (o *Extension[T]) FontGetEmbolden(font_rid RID.Font) Float.X

FontGetEmbolden is promoted from TextServer.Instance.FontGetEmbolden.

func (*Extension[T]) FontGetFaceCount

func (o *Extension[T]) FontGetFaceCount(font_rid RID.Font) int

FontGetFaceCount is promoted from TextServer.Instance.FontGetFaceCount.

func (*Extension[T]) FontGetFaceIndex

func (o *Extension[T]) FontGetFaceIndex(font_rid RID.Font) int

FontGetFaceIndex is promoted from TextServer.Instance.FontGetFaceIndex.

func (*Extension[T]) FontGetFixedSize

func (o *Extension[T]) FontGetFixedSize(font_rid RID.Font) int

FontGetFixedSize is promoted from TextServer.Instance.FontGetFixedSize.

func (*Extension[T]) FontGetFixedSizeScaleMode

func (o *Extension[T]) FontGetFixedSizeScaleMode(font_rid RID.Font) TextServer.FixedSizeScaleMode

FontGetFixedSizeScaleMode is promoted from TextServer.Instance.FontGetFixedSizeScaleMode.

func (*Extension[T]) FontGetGenerateMipmaps

func (o *Extension[T]) FontGetGenerateMipmaps(font_rid RID.Font) bool

FontGetGenerateMipmaps is promoted from TextServer.Instance.FontGetGenerateMipmaps.

func (*Extension[T]) FontGetGlobalOversampling

func (o *Extension[T]) FontGetGlobalOversampling() Float.X

FontGetGlobalOversampling is promoted from TextServer.Instance.FontGetGlobalOversampling.

func (*Extension[T]) FontGetGlyphAdvance

func (o *Extension[T]) FontGetGlyphAdvance(font_rid RID.Font, size int, glyph int) Vector2.XY

FontGetGlyphAdvance is promoted from TextServer.Instance.FontGetGlyphAdvance.

func (*Extension[T]) FontGetGlyphContours

func (o *Extension[T]) FontGetGlyphContours(font RID.Font, size int, index int) TextServer.GlyphContours

FontGetGlyphContours is promoted from TextServer.Instance.FontGetGlyphContours.

func (*Extension[T]) FontGetGlyphIndex

func (o *Extension[T]) FontGetGlyphIndex(font_rid RID.Font, size int, char int, variation_selector int) int

FontGetGlyphIndex is promoted from TextServer.Instance.FontGetGlyphIndex.

func (*Extension[T]) FontGetGlyphList

func (o *Extension[T]) FontGetGlyphList(font_rid RID.Font, size Vector2i.XY) []int32

FontGetGlyphList is promoted from TextServer.Instance.FontGetGlyphList.

func (*Extension[T]) FontGetGlyphOffset

func (o *Extension[T]) FontGetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphOffset is promoted from TextServer.Instance.FontGetGlyphOffset.

func (*Extension[T]) FontGetGlyphSize

func (o *Extension[T]) FontGetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphSize is promoted from TextServer.Instance.FontGetGlyphSize.

func (*Extension[T]) FontGetGlyphTextureIdx

func (o *Extension[T]) FontGetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int) int

FontGetGlyphTextureIdx is promoted from TextServer.Instance.FontGetGlyphTextureIdx.

func (*Extension[T]) FontGetGlyphTextureRid

func (o *Extension[T]) FontGetGlyphTextureRid(font_rid RID.Font, size Vector2i.XY, glyph int) RID.Texture

FontGetGlyphTextureRid is promoted from TextServer.Instance.FontGetGlyphTextureRid.

func (*Extension[T]) FontGetGlyphTextureSize

func (o *Extension[T]) FontGetGlyphTextureSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphTextureSize is promoted from TextServer.Instance.FontGetGlyphTextureSize.

func (*Extension[T]) FontGetGlyphUvRect

func (o *Extension[T]) FontGetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int) Rect2.PositionSize

FontGetGlyphUvRect is promoted from TextServer.Instance.FontGetGlyphUvRect.

func (*Extension[T]) FontGetHinting

func (o *Extension[T]) FontGetHinting(font_rid RID.Font) TextServer.Hinting

FontGetHinting is promoted from TextServer.Instance.FontGetHinting.

func (*Extension[T]) FontGetKeepRoundingRemainders

func (o *Extension[T]) FontGetKeepRoundingRemainders(font_rid RID.Font) bool

FontGetKeepRoundingRemainders is promoted from TextServer.Instance.FontGetKeepRoundingRemainders.

func (*Extension[T]) FontGetKerning

func (o *Extension[T]) FontGetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY) Vector2.XY

FontGetKerning is promoted from TextServer.Instance.FontGetKerning.

func (*Extension[T]) FontGetKerningList

func (o *Extension[T]) FontGetKerningList(font_rid RID.Font, size int) []Vector2i.XY

FontGetKerningList is promoted from TextServer.Instance.FontGetKerningList.

func (*Extension[T]) FontGetLanguageSupportOverride

func (o *Extension[T]) FontGetLanguageSupportOverride(font_rid RID.Font, language string) bool

FontGetLanguageSupportOverride is promoted from TextServer.Instance.FontGetLanguageSupportOverride.

func (*Extension[T]) FontGetLanguageSupportOverrides

func (o *Extension[T]) FontGetLanguageSupportOverrides(font_rid RID.Font) []string

FontGetLanguageSupportOverrides is promoted from TextServer.Instance.FontGetLanguageSupportOverrides.

func (*Extension[T]) FontGetMsdfPixelRange

func (o *Extension[T]) FontGetMsdfPixelRange(font_rid RID.Font) int

FontGetMsdfPixelRange is promoted from TextServer.Instance.FontGetMsdfPixelRange.

func (*Extension[T]) FontGetMsdfSize

func (o *Extension[T]) FontGetMsdfSize(font_rid RID.Font) int

FontGetMsdfSize is promoted from TextServer.Instance.FontGetMsdfSize.

func (*Extension[T]) FontGetName

func (o *Extension[T]) FontGetName(font_rid RID.Font) string

FontGetName is promoted from TextServer.Instance.FontGetName.

func (*Extension[T]) FontGetOpentypeFeatureOverrides

func (o *Extension[T]) FontGetOpentypeFeatureOverrides(font_rid RID.Font) map[string][2]string

FontGetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontGetOpentypeFeatureOverrides.

func (*Extension[T]) FontGetOtNameStrings

func (o *Extension[T]) FontGetOtNameStrings(font_rid RID.Font) map[string]map[string]string

FontGetOtNameStrings is promoted from TextServer.Instance.FontGetOtNameStrings.

func (*Extension[T]) FontGetOversampling

func (o *Extension[T]) FontGetOversampling(font_rid RID.Font) Float.X

FontGetOversampling is promoted from TextServer.Instance.FontGetOversampling.

func (*Extension[T]) FontGetScale

func (o *Extension[T]) FontGetScale(font_rid RID.Font, size int) Float.X

FontGetScale is promoted from TextServer.Instance.FontGetScale.

func (*Extension[T]) FontGetScriptSupportOverride

func (o *Extension[T]) FontGetScriptSupportOverride(font_rid RID.Font, script string) bool

FontGetScriptSupportOverride is promoted from TextServer.Instance.FontGetScriptSupportOverride.

func (*Extension[T]) FontGetScriptSupportOverrides

func (o *Extension[T]) FontGetScriptSupportOverrides(font_rid RID.Font) []string

FontGetScriptSupportOverrides is promoted from TextServer.Instance.FontGetScriptSupportOverrides.

func (*Extension[T]) FontGetSizeCacheInfo

func (o *Extension[T]) FontGetSizeCacheInfo(font_rid RID.Font) []TextServer.FontSizeCacheInfo

FontGetSizeCacheInfo is promoted from TextServer.Instance.FontGetSizeCacheInfo.

func (*Extension[T]) FontGetSizeCacheList

func (o *Extension[T]) FontGetSizeCacheList(font_rid RID.Font) []Vector2i.XY

FontGetSizeCacheList is promoted from TextServer.Instance.FontGetSizeCacheList.

func (*Extension[T]) FontGetSpacing

func (o *Extension[T]) FontGetSpacing(font_rid RID.Font, spacing TextServer.SpacingType) int

FontGetSpacing is promoted from TextServer.Instance.FontGetSpacing.

func (*Extension[T]) FontGetStretch

func (o *Extension[T]) FontGetStretch(font_rid RID.Font) int

FontGetStretch is promoted from TextServer.Instance.FontGetStretch.

func (*Extension[T]) FontGetStyle

func (o *Extension[T]) FontGetStyle(font_rid RID.Font) TextServer.FontStyle

FontGetStyle is promoted from TextServer.Instance.FontGetStyle.

func (*Extension[T]) FontGetStyleName

func (o *Extension[T]) FontGetStyleName(font_rid RID.Font) string

FontGetStyleName is promoted from TextServer.Instance.FontGetStyleName.

func (*Extension[T]) FontGetSubpixelPositioning

func (o *Extension[T]) FontGetSubpixelPositioning(font_rid RID.Font) TextServer.SubpixelPositioning

FontGetSubpixelPositioning is promoted from TextServer.Instance.FontGetSubpixelPositioning.

func (*Extension[T]) FontGetSupportedChars

func (o *Extension[T]) FontGetSupportedChars(font_rid RID.Font) string

FontGetSupportedChars is promoted from TextServer.Instance.FontGetSupportedChars.

func (*Extension[T]) FontGetSupportedGlyphs

func (o *Extension[T]) FontGetSupportedGlyphs(font_rid RID.Font) []int32

FontGetSupportedGlyphs is promoted from TextServer.Instance.FontGetSupportedGlyphs.

func (*Extension[T]) FontGetTextureCount

func (o *Extension[T]) FontGetTextureCount(font_rid RID.Font, size Vector2i.XY) int

FontGetTextureCount is promoted from TextServer.Instance.FontGetTextureCount.

func (*Extension[T]) FontGetTextureImage

func (o *Extension[T]) FontGetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int) Image.Instance

FontGetTextureImage is promoted from TextServer.Instance.FontGetTextureImage.

func (*Extension[T]) FontGetTextureOffsets

func (o *Extension[T]) FontGetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int) []int32

FontGetTextureOffsets is promoted from TextServer.Instance.FontGetTextureOffsets.

func (*Extension[T]) FontGetTransform

func (o *Extension[T]) FontGetTransform(font_rid RID.Font) Transform2D.OriginXY

FontGetTransform is promoted from TextServer.Instance.FontGetTransform.

func (*Extension[T]) FontGetUnderlinePosition

func (o *Extension[T]) FontGetUnderlinePosition(font_rid RID.Font, size int) Float.X

FontGetUnderlinePosition is promoted from TextServer.Instance.FontGetUnderlinePosition.

func (*Extension[T]) FontGetUnderlineThickness

func (o *Extension[T]) FontGetUnderlineThickness(font_rid RID.Font, size int) Float.X

FontGetUnderlineThickness is promoted from TextServer.Instance.FontGetUnderlineThickness.

func (*Extension[T]) FontGetVariationCoordinates

func (o *Extension[T]) FontGetVariationCoordinates(font_rid RID.Font) map[string]float32

FontGetVariationCoordinates is promoted from TextServer.Instance.FontGetVariationCoordinates.

func (*Extension[T]) FontGetWeight

func (o *Extension[T]) FontGetWeight(font_rid RID.Font) int

FontGetWeight is promoted from TextServer.Instance.FontGetWeight.

func (*Extension[T]) FontHasChar

func (o *Extension[T]) FontHasChar(font_rid RID.Font, char int) bool

FontHasChar is promoted from TextServer.Instance.FontHasChar.

func (*Extension[T]) FontIsAllowSystemFallback

func (o *Extension[T]) FontIsAllowSystemFallback(font_rid RID.Font) bool

FontIsAllowSystemFallback is promoted from TextServer.Instance.FontIsAllowSystemFallback.

func (*Extension[T]) FontIsForceAutohinter

func (o *Extension[T]) FontIsForceAutohinter(font_rid RID.Font) bool

FontIsForceAutohinter is promoted from TextServer.Instance.FontIsForceAutohinter.

func (*Extension[T]) FontIsLanguageSupported

func (o *Extension[T]) FontIsLanguageSupported(font_rid RID.Font, language string) bool

FontIsLanguageSupported is promoted from TextServer.Instance.FontIsLanguageSupported.

func (*Extension[T]) FontIsModulateColorGlyphs

func (o *Extension[T]) FontIsModulateColorGlyphs(font_rid RID.Font) bool

FontIsModulateColorGlyphs is promoted from TextServer.Instance.FontIsModulateColorGlyphs.

func (*Extension[T]) FontIsMultichannelSignedDistanceField

func (o *Extension[T]) FontIsMultichannelSignedDistanceField(font_rid RID.Font) bool

FontIsMultichannelSignedDistanceField is promoted from TextServer.Instance.FontIsMultichannelSignedDistanceField.

func (*Extension[T]) FontIsScriptSupported

func (o *Extension[T]) FontIsScriptSupported(font_rid RID.Font, script string) bool

FontIsScriptSupported is promoted from TextServer.Instance.FontIsScriptSupported.

func (*Extension[T]) FontRemoveGlyph

func (o *Extension[T]) FontRemoveGlyph(font_rid RID.Font, size Vector2i.XY, glyph int)

FontRemoveGlyph is promoted from TextServer.Instance.FontRemoveGlyph.

func (*Extension[T]) FontRemoveKerning

func (o *Extension[T]) FontRemoveKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY)

FontRemoveKerning is promoted from TextServer.Instance.FontRemoveKerning.

func (*Extension[T]) FontRemoveLanguageSupportOverride

func (o *Extension[T]) FontRemoveLanguageSupportOverride(font_rid RID.Font, language string)

FontRemoveLanguageSupportOverride is promoted from TextServer.Instance.FontRemoveLanguageSupportOverride.

func (*Extension[T]) FontRemoveScriptSupportOverride

func (o *Extension[T]) FontRemoveScriptSupportOverride(font_rid RID.Font, script string)

FontRemoveScriptSupportOverride is promoted from TextServer.Instance.FontRemoveScriptSupportOverride.

func (*Extension[T]) FontRemoveSizeCache

func (o *Extension[T]) FontRemoveSizeCache(font_rid RID.Font, size Vector2i.XY)

FontRemoveSizeCache is promoted from TextServer.Instance.FontRemoveSizeCache.

func (*Extension[T]) FontRemoveTexture

func (o *Extension[T]) FontRemoveTexture(font_rid RID.Font, size Vector2i.XY, texture_index int)

FontRemoveTexture is promoted from TextServer.Instance.FontRemoveTexture.

func (*Extension[T]) FontRenderGlyph

func (o *Extension[T]) FontRenderGlyph(font_rid RID.Font, size Vector2i.XY, index int)

FontRenderGlyph is promoted from TextServer.Instance.FontRenderGlyph.

func (*Extension[T]) FontRenderRange

func (o *Extension[T]) FontRenderRange(font_rid RID.Font, size Vector2i.XY, start int, end int)

FontRenderRange is promoted from TextServer.Instance.FontRenderRange.

func (*Extension[T]) FontSetAllowSystemFallback

func (o *Extension[T]) FontSetAllowSystemFallback(font_rid RID.Font, allow_system_fallback bool)

FontSetAllowSystemFallback is promoted from TextServer.Instance.FontSetAllowSystemFallback.

func (*Extension[T]) FontSetAntialiasing

func (o *Extension[T]) FontSetAntialiasing(font_rid RID.Font, antialiasing TextServer.FontAntialiasing)

FontSetAntialiasing is promoted from TextServer.Instance.FontSetAntialiasing.

func (*Extension[T]) FontSetAscent

func (o *Extension[T]) FontSetAscent(font_rid RID.Font, size int, ascent Float.X)

FontSetAscent is promoted from TextServer.Instance.FontSetAscent.

func (*Extension[T]) FontSetBaselineOffset

func (o *Extension[T]) FontSetBaselineOffset(font_rid RID.Font, baseline_offset Float.X)

FontSetBaselineOffset is promoted from TextServer.Instance.FontSetBaselineOffset.

func (*Extension[T]) FontSetData

func (o *Extension[T]) FontSetData(font_rid RID.Font, data []byte)

FontSetData is promoted from TextServer.Instance.FontSetData.

func (*Extension[T]) FontSetDescent

func (o *Extension[T]) FontSetDescent(font_rid RID.Font, size int, descent Float.X)

FontSetDescent is promoted from TextServer.Instance.FontSetDescent.

func (*Extension[T]) FontSetDisableEmbeddedBitmaps

func (o *Extension[T]) FontSetDisableEmbeddedBitmaps(font_rid RID.Font, disable_embedded_bitmaps bool)

FontSetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontSetDisableEmbeddedBitmaps.

func (*Extension[T]) FontSetEmbolden

func (o *Extension[T]) FontSetEmbolden(font_rid RID.Font, strength Float.X)

FontSetEmbolden is promoted from TextServer.Instance.FontSetEmbolden.

func (*Extension[T]) FontSetFaceIndex

func (o *Extension[T]) FontSetFaceIndex(font_rid RID.Font, face_index int)

FontSetFaceIndex is promoted from TextServer.Instance.FontSetFaceIndex.

func (*Extension[T]) FontSetFixedSize

func (o *Extension[T]) FontSetFixedSize(font_rid RID.Font, fixed_size int)

FontSetFixedSize is promoted from TextServer.Instance.FontSetFixedSize.

func (*Extension[T]) FontSetFixedSizeScaleMode

func (o *Extension[T]) FontSetFixedSizeScaleMode(font_rid RID.Font, fixed_size_scale_mode TextServer.FixedSizeScaleMode)

FontSetFixedSizeScaleMode is promoted from TextServer.Instance.FontSetFixedSizeScaleMode.

func (*Extension[T]) FontSetForceAutohinter

func (o *Extension[T]) FontSetForceAutohinter(font_rid RID.Font, force_autohinter bool)

FontSetForceAutohinter is promoted from TextServer.Instance.FontSetForceAutohinter.

func (*Extension[T]) FontSetGenerateMipmaps

func (o *Extension[T]) FontSetGenerateMipmaps(font_rid RID.Font, generate_mipmaps bool)

FontSetGenerateMipmaps is promoted from TextServer.Instance.FontSetGenerateMipmaps.

func (*Extension[T]) FontSetGlobalOversampling

func (o *Extension[T]) FontSetGlobalOversampling(oversampling Float.X)

FontSetGlobalOversampling is promoted from TextServer.Instance.FontSetGlobalOversampling.

func (*Extension[T]) FontSetGlyphAdvance

func (o *Extension[T]) FontSetGlyphAdvance(font_rid RID.Font, size int, glyph int, advance Vector2.XY)

FontSetGlyphAdvance is promoted from TextServer.Instance.FontSetGlyphAdvance.

func (*Extension[T]) FontSetGlyphOffset

func (o *Extension[T]) FontSetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int, offset Vector2.XY)

FontSetGlyphOffset is promoted from TextServer.Instance.FontSetGlyphOffset.

func (*Extension[T]) FontSetGlyphSize

func (o *Extension[T]) FontSetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int, gl_size Vector2.XY)

FontSetGlyphSize is promoted from TextServer.Instance.FontSetGlyphSize.

func (*Extension[T]) FontSetGlyphTextureIdx

func (o *Extension[T]) FontSetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int, texture_idx int)

FontSetGlyphTextureIdx is promoted from TextServer.Instance.FontSetGlyphTextureIdx.

func (*Extension[T]) FontSetGlyphUvRect

func (o *Extension[T]) FontSetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int, uv_rect Rect2.PositionSize)

FontSetGlyphUvRect is promoted from TextServer.Instance.FontSetGlyphUvRect.

func (*Extension[T]) FontSetHinting

func (o *Extension[T]) FontSetHinting(font_rid RID.Font, hinting TextServer.Hinting)

FontSetHinting is promoted from TextServer.Instance.FontSetHinting.

func (*Extension[T]) FontSetKeepRoundingRemainders

func (o *Extension[T]) FontSetKeepRoundingRemainders(font_rid RID.Font, keep_rounding_remainders bool)

FontSetKeepRoundingRemainders is promoted from TextServer.Instance.FontSetKeepRoundingRemainders.

func (*Extension[T]) FontSetKerning

func (o *Extension[T]) FontSetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY, kerning Vector2.XY)

FontSetKerning is promoted from TextServer.Instance.FontSetKerning.

func (*Extension[T]) FontSetLanguageSupportOverride

func (o *Extension[T]) FontSetLanguageSupportOverride(font_rid RID.Font, language string, supported bool)

FontSetLanguageSupportOverride is promoted from TextServer.Instance.FontSetLanguageSupportOverride.

func (*Extension[T]) FontSetModulateColorGlyphs

func (o *Extension[T]) FontSetModulateColorGlyphs(font_rid RID.Font, force_autohinter bool)

FontSetModulateColorGlyphs is promoted from TextServer.Instance.FontSetModulateColorGlyphs.

func (*Extension[T]) FontSetMsdfPixelRange

func (o *Extension[T]) FontSetMsdfPixelRange(font_rid RID.Font, msdf_pixel_range int)

FontSetMsdfPixelRange is promoted from TextServer.Instance.FontSetMsdfPixelRange.

func (*Extension[T]) FontSetMsdfSize

func (o *Extension[T]) FontSetMsdfSize(font_rid RID.Font, msdf_size int)

FontSetMsdfSize is promoted from TextServer.Instance.FontSetMsdfSize.

func (*Extension[T]) FontSetMultichannelSignedDistanceField

func (o *Extension[T]) FontSetMultichannelSignedDistanceField(font_rid RID.Font, msdf bool)

FontSetMultichannelSignedDistanceField is promoted from TextServer.Instance.FontSetMultichannelSignedDistanceField.

func (*Extension[T]) FontSetName

func (o *Extension[T]) FontSetName(font_rid RID.Font, name string)

FontSetName is promoted from TextServer.Instance.FontSetName.

func (*Extension[T]) FontSetOpentypeFeatureOverrides

func (o *Extension[T]) FontSetOpentypeFeatureOverrides(font_rid RID.Font, overrides map[string][2]string)

FontSetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontSetOpentypeFeatureOverrides.

func (*Extension[T]) FontSetOversampling

func (o *Extension[T]) FontSetOversampling(font_rid RID.Font, oversampling Float.X)

FontSetOversampling is promoted from TextServer.Instance.FontSetOversampling.

func (*Extension[T]) FontSetScale

func (o *Extension[T]) FontSetScale(font_rid RID.Font, size int, scale Float.X)

FontSetScale is promoted from TextServer.Instance.FontSetScale.

func (*Extension[T]) FontSetScriptSupportOverride

func (o *Extension[T]) FontSetScriptSupportOverride(font_rid RID.Font, script string, supported bool)

FontSetScriptSupportOverride is promoted from TextServer.Instance.FontSetScriptSupportOverride.

func (*Extension[T]) FontSetSpacing

func (o *Extension[T]) FontSetSpacing(font_rid RID.Font, spacing TextServer.SpacingType, value int)

FontSetSpacing is promoted from TextServer.Instance.FontSetSpacing.

func (*Extension[T]) FontSetStretch

func (o *Extension[T]) FontSetStretch(font_rid RID.Font, weight int)

FontSetStretch is promoted from TextServer.Instance.FontSetStretch.

func (*Extension[T]) FontSetStyle

func (o *Extension[T]) FontSetStyle(font_rid RID.Font, style TextServer.FontStyle)

FontSetStyle is promoted from TextServer.Instance.FontSetStyle.

func (*Extension[T]) FontSetStyleName

func (o *Extension[T]) FontSetStyleName(font_rid RID.Font, name string)

FontSetStyleName is promoted from TextServer.Instance.FontSetStyleName.

func (*Extension[T]) FontSetSubpixelPositioning

func (o *Extension[T]) FontSetSubpixelPositioning(font_rid RID.Font, subpixel_positioning TextServer.SubpixelPositioning)

FontSetSubpixelPositioning is promoted from TextServer.Instance.FontSetSubpixelPositioning.

func (*Extension[T]) FontSetTextureImage

func (o *Extension[T]) FontSetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int, image Image.Instance)

FontSetTextureImage is promoted from TextServer.Instance.FontSetTextureImage.

func (*Extension[T]) FontSetTextureOffsets

func (o *Extension[T]) FontSetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int, offset []int32)

FontSetTextureOffsets is promoted from TextServer.Instance.FontSetTextureOffsets.

func (*Extension[T]) FontSetTransform

func (o *Extension[T]) FontSetTransform(font_rid RID.Font, transform Transform2D.OriginXY)

FontSetTransform is promoted from TextServer.Instance.FontSetTransform.

func (*Extension[T]) FontSetUnderlinePosition

func (o *Extension[T]) FontSetUnderlinePosition(font_rid RID.Font, size int, underline_position Float.X)

FontSetUnderlinePosition is promoted from TextServer.Instance.FontSetUnderlinePosition.

func (*Extension[T]) FontSetUnderlineThickness

func (o *Extension[T]) FontSetUnderlineThickness(font_rid RID.Font, size int, underline_thickness Float.X)

FontSetUnderlineThickness is promoted from TextServer.Instance.FontSetUnderlineThickness.

func (*Extension[T]) FontSetVariationCoordinates

func (o *Extension[T]) FontSetVariationCoordinates(font_rid RID.Font, variation_coordinates map[string]float32)

FontSetVariationCoordinates is promoted from TextServer.Instance.FontSetVariationCoordinates.

func (*Extension[T]) FontSetWeight

func (o *Extension[T]) FontSetWeight(font_rid RID.Font, weight int)

FontSetWeight is promoted from TextServer.Instance.FontSetWeight.

func (*Extension[T]) FontSupportedFeatureList

func (o *Extension[T]) FontSupportedFeatureList(font_rid RID.Font) map[string]TextServer.OpenTypeFeature

FontSupportedFeatureList is promoted from TextServer.Instance.FontSupportedFeatureList.

func (*Extension[T]) FontSupportedVariationList

func (o *Extension[T]) FontSupportedVariationList(font_rid RID.Font) map[int]struct {
	X int32
	Y int32
	Z int32
}

FontSupportedVariationList is promoted from TextServer.Instance.FontSupportedVariationList.

func (*Extension[T]) FreeRid

func (o *Extension[T]) FreeRid(rid RID.Any)

FreeRid is promoted from TextServer.Instance.FreeRid.

func (*Extension[T]) GetFeatures

func (o *Extension[T]) GetFeatures() int

GetFeatures is promoted from TextServer.Instance.GetFeatures.

func (*Extension[T]) GetHexCodeBoxSize

func (o *Extension[T]) GetHexCodeBoxSize(size int, index int) Vector2.XY

GetHexCodeBoxSize is promoted from TextServer.Instance.GetHexCodeBoxSize.

func (*Extension[T]) GetName

func (o *Extension[T]) GetName() string

GetName is promoted from TextServer.Instance.GetName.

func (*Extension[T]) GetSupportData

func (o *Extension[T]) GetSupportData() []byte

GetSupportData is promoted from TextServer.Instance.GetSupportData.

func (*Extension[T]) GetSupportDataFilename

func (o *Extension[T]) GetSupportDataFilename() string

GetSupportDataFilename is promoted from TextServer.Instance.GetSupportDataFilename.

func (*Extension[T]) GetSupportDataInfo

func (o *Extension[T]) GetSupportDataInfo() string

GetSupportDataInfo is promoted from TextServer.Instance.GetSupportDataInfo.

func (*Extension[T]) Has

func (o *Extension[T]) Has(rid RID.Any) bool

Has is promoted from TextServer.Instance.Has.

func (*Extension[T]) HasFeature

func (o *Extension[T]) HasFeature(feature TextServer.Feature) bool

HasFeature is promoted from TextServer.Instance.HasFeature.

func (*Extension[T]) IsConfusable

func (o *Extension[T]) IsConfusable(s string, dict []string) int

IsConfusable is promoted from TextServer.Instance.IsConfusable.

func (*Extension[T]) IsLocaleRightToLeft

func (o *Extension[T]) IsLocaleRightToLeft(locale string) bool

IsLocaleRightToLeft is promoted from TextServer.Instance.IsLocaleRightToLeft.

func (*Extension[T]) IsLocaleUsingSupportData

func (o *Extension[T]) IsLocaleUsingSupportData(locale string) bool

IsLocaleUsingSupportData is promoted from TextServer.Instance.IsLocaleUsingSupportData.

func (*Extension[T]) IsValidIdentifier

func (o *Extension[T]) IsValidIdentifier(s string) bool

IsValidIdentifier is promoted from TextServer.Instance.IsValidIdentifier.

func (*Extension[T]) IsValidLetter

func (o *Extension[T]) IsValidLetter(unicode int) bool

IsValidLetter is promoted from TextServer.Instance.IsValidLetter.

func (*Extension[T]) LoadSupportData

func (o *Extension[T]) LoadSupportData(filename string) bool

LoadSupportData is promoted from TextServer.Instance.LoadSupportData.

func (*Extension[T]) NameToTag

func (o *Extension[T]) NameToTag(name string) int

NameToTag is promoted from TextServer.Instance.NameToTag.

func (*Extension[T]) ParseStructuredText

func (o *Extension[T]) ParseStructuredText(parser_type TextServer.StructuredTextParser, args []any, text string) []Vector3i.XYZ

ParseStructuredText is promoted from TextServer.Instance.ParseStructuredText.

func (*Extension[T]) SaveSupportData

func (o *Extension[T]) SaveSupportData(filename string) bool

SaveSupportData is promoted from TextServer.Instance.SaveSupportData.

func (*Extension[T]) ShapedGetRunCount

func (o *Extension[T]) ShapedGetRunCount(shaped RID.TextBuffer) int

ShapedGetRunCount is promoted from TextServer.Instance.ShapedGetRunCount.

func (*Extension[T]) ShapedGetRunDirection

func (o *Extension[T]) ShapedGetRunDirection(shaped RID.TextBuffer, index int) TextServer.Direction

ShapedGetRunDirection is promoted from TextServer.Instance.ShapedGetRunDirection.

func (*Extension[T]) ShapedGetRunFontRid

func (o *Extension[T]) ShapedGetRunFontRid(shaped RID.TextBuffer, index int) RID.Font

ShapedGetRunFontRid is promoted from TextServer.Instance.ShapedGetRunFontRid.

func (*Extension[T]) ShapedGetRunFontSize

func (o *Extension[T]) ShapedGetRunFontSize(shaped RID.TextBuffer, index int) int

ShapedGetRunFontSize is promoted from TextServer.Instance.ShapedGetRunFontSize.

func (*Extension[T]) ShapedGetRunLanguage

func (o *Extension[T]) ShapedGetRunLanguage(shaped RID.TextBuffer, index int) string

ShapedGetRunLanguage is promoted from TextServer.Instance.ShapedGetRunLanguage.

func (*Extension[T]) ShapedGetRunObject

func (o *Extension[T]) ShapedGetRunObject(shaped RID.TextBuffer, index int) any

ShapedGetRunObject is promoted from TextServer.Instance.ShapedGetRunObject.

func (*Extension[T]) ShapedGetRunRange

func (o *Extension[T]) ShapedGetRunRange(shaped RID.TextBuffer, index int) Vector2i.XY

ShapedGetRunRange is promoted from TextServer.Instance.ShapedGetRunRange.

func (*Extension[T]) ShapedGetRunText

func (o *Extension[T]) ShapedGetRunText(shaped RID.TextBuffer, index int) string

ShapedGetRunText is promoted from TextServer.Instance.ShapedGetRunText.

func (*Extension[T]) ShapedGetSpanCount

func (o *Extension[T]) ShapedGetSpanCount(shaped RID.TextBuffer) int

ShapedGetSpanCount is promoted from TextServer.Instance.ShapedGetSpanCount.

func (*Extension[T]) ShapedGetSpanEmbeddedObject

func (o *Extension[T]) ShapedGetSpanEmbeddedObject(shaped RID.TextBuffer, index int) any

ShapedGetSpanEmbeddedObject is promoted from TextServer.Instance.ShapedGetSpanEmbeddedObject.

func (*Extension[T]) ShapedGetSpanMeta

func (o *Extension[T]) ShapedGetSpanMeta(shaped RID.TextBuffer, index int) any

ShapedGetSpanMeta is promoted from TextServer.Instance.ShapedGetSpanMeta.

func (*Extension[T]) ShapedGetSpanObject

func (o *Extension[T]) ShapedGetSpanObject(shaped RID.TextBuffer, index int) any

ShapedGetSpanObject is promoted from TextServer.Instance.ShapedGetSpanObject.

func (*Extension[T]) ShapedGetSpanText

func (o *Extension[T]) ShapedGetSpanText(shaped RID.TextBuffer, index int) string

ShapedGetSpanText is promoted from TextServer.Instance.ShapedGetSpanText.

func (*Extension[T]) ShapedGetText

func (o *Extension[T]) ShapedGetText(shaped RID.TextBuffer) string

ShapedGetText is promoted from TextServer.Instance.ShapedGetText.

func (*Extension[T]) ShapedTextClear

func (o *Extension[T]) ShapedTextClear(rid RID.TextBuffer)

ShapedTextClear is promoted from TextServer.Instance.ShapedTextClear.

func (*Extension[T]) ShapedTextClosestCharacterPos

func (o *Extension[T]) ShapedTextClosestCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextClosestCharacterPos is promoted from TextServer.Instance.ShapedTextClosestCharacterPos.

func (*Extension[T]) ShapedTextDuplicate

func (o *Extension[T]) ShapedTextDuplicate(rid RID.TextBuffer) RID.TextBuffer

ShapedTextDuplicate is promoted from TextServer.Instance.ShapedTextDuplicate.

func (*Extension[T]) ShapedTextGetAscent

func (o *Extension[T]) ShapedTextGetAscent(shaped RID.TextBuffer) Float.X

ShapedTextGetAscent is promoted from TextServer.Instance.ShapedTextGetAscent.

func (*Extension[T]) ShapedTextGetCarets

func (o *Extension[T]) ShapedTextGetCarets(shaped RID.TextBuffer, position int) TextServer.Carets

ShapedTextGetCarets is promoted from TextServer.Instance.ShapedTextGetCarets.

func (*Extension[T]) ShapedTextGetCharacterBreaks

func (o *Extension[T]) ShapedTextGetCharacterBreaks(shaped RID.TextBuffer) []int32

ShapedTextGetCharacterBreaks is promoted from TextServer.Instance.ShapedTextGetCharacterBreaks.

func (*Extension[T]) ShapedTextGetCustomEllipsis

func (o *Extension[T]) ShapedTextGetCustomEllipsis(shaped RID.TextBuffer) int

ShapedTextGetCustomEllipsis is promoted from TextServer.Instance.ShapedTextGetCustomEllipsis.

func (*Extension[T]) ShapedTextGetCustomPunctuation

func (o *Extension[T]) ShapedTextGetCustomPunctuation(shaped RID.TextBuffer) string

ShapedTextGetCustomPunctuation is promoted from TextServer.Instance.ShapedTextGetCustomPunctuation.

func (*Extension[T]) ShapedTextGetDescent

func (o *Extension[T]) ShapedTextGetDescent(shaped RID.TextBuffer) Float.X

ShapedTextGetDescent is promoted from TextServer.Instance.ShapedTextGetDescent.

func (*Extension[T]) ShapedTextGetDirection

func (o *Extension[T]) ShapedTextGetDirection(shaped RID.TextBuffer) TextServer.Direction

ShapedTextGetDirection is promoted from TextServer.Instance.ShapedTextGetDirection.

func (*Extension[T]) ShapedTextGetDominantDirectionInRange

func (o *Extension[T]) ShapedTextGetDominantDirectionInRange(shaped RID.TextBuffer, start int, end int) TextServer.Direction

ShapedTextGetDominantDirectionInRange is promoted from TextServer.Instance.ShapedTextGetDominantDirectionInRange.

func (*Extension[T]) ShapedTextGetEllipsisGlyphCount

func (o *Extension[T]) ShapedTextGetEllipsisGlyphCount(shaped RID.TextBuffer) int

ShapedTextGetEllipsisGlyphCount is promoted from TextServer.Instance.ShapedTextGetEllipsisGlyphCount.

func (*Extension[T]) ShapedTextGetEllipsisGlyphs

func (o *Extension[T]) ShapedTextGetEllipsisGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextGetEllipsisGlyphs is promoted from TextServer.Instance.ShapedTextGetEllipsisGlyphs.

func (*Extension[T]) ShapedTextGetEllipsisPos

func (o *Extension[T]) ShapedTextGetEllipsisPos(shaped RID.TextBuffer) int

ShapedTextGetEllipsisPos is promoted from TextServer.Instance.ShapedTextGetEllipsisPos.

func (*Extension[T]) ShapedTextGetGlyphCount

func (o *Extension[T]) ShapedTextGetGlyphCount(shaped RID.TextBuffer) int

ShapedTextGetGlyphCount is promoted from TextServer.Instance.ShapedTextGetGlyphCount.

func (*Extension[T]) ShapedTextGetGlyphs

func (o *Extension[T]) ShapedTextGetGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextGetGlyphs is promoted from TextServer.Instance.ShapedTextGetGlyphs.

func (*Extension[T]) ShapedTextGetGraphemeBounds

func (o *Extension[T]) ShapedTextGetGraphemeBounds(shaped RID.TextBuffer, pos int) Vector2.XY

ShapedTextGetGraphemeBounds is promoted from TextServer.Instance.ShapedTextGetGraphemeBounds.

func (*Extension[T]) ShapedTextGetInferredDirection

func (o *Extension[T]) ShapedTextGetInferredDirection(shaped RID.TextBuffer) TextServer.Direction

ShapedTextGetInferredDirection is promoted from TextServer.Instance.ShapedTextGetInferredDirection.

func (*Extension[T]) ShapedTextGetObjectGlyph

func (o *Extension[T]) ShapedTextGetObjectGlyph(shaped RID.TextBuffer, key any) int

ShapedTextGetObjectGlyph is promoted from TextServer.Instance.ShapedTextGetObjectGlyph.

func (*Extension[T]) ShapedTextGetObjectRange

func (o *Extension[T]) ShapedTextGetObjectRange(shaped RID.TextBuffer, key any) Vector2i.XY

ShapedTextGetObjectRange is promoted from TextServer.Instance.ShapedTextGetObjectRange.

func (*Extension[T]) ShapedTextGetObjectRect

func (o *Extension[T]) ShapedTextGetObjectRect(shaped RID.TextBuffer, key any) Rect2.PositionSize

ShapedTextGetObjectRect is promoted from TextServer.Instance.ShapedTextGetObjectRect.

func (*Extension[T]) ShapedTextGetObjects

func (o *Extension[T]) ShapedTextGetObjects(shaped RID.TextBuffer) []any

ShapedTextGetObjects is promoted from TextServer.Instance.ShapedTextGetObjects.

func (*Extension[T]) ShapedTextGetOrientation

func (o *Extension[T]) ShapedTextGetOrientation(shaped RID.TextBuffer) TextServer.Orientation

ShapedTextGetOrientation is promoted from TextServer.Instance.ShapedTextGetOrientation.

func (*Extension[T]) ShapedTextGetParent

func (o *Extension[T]) ShapedTextGetParent(shaped RID.TextBuffer) RID.TextBuffer

ShapedTextGetParent is promoted from TextServer.Instance.ShapedTextGetParent.

func (*Extension[T]) ShapedTextGetPreserveControl

func (o *Extension[T]) ShapedTextGetPreserveControl(shaped RID.TextBuffer) bool

ShapedTextGetPreserveControl is promoted from TextServer.Instance.ShapedTextGetPreserveControl.

func (*Extension[T]) ShapedTextGetPreserveInvalid

func (o *Extension[T]) ShapedTextGetPreserveInvalid(shaped RID.TextBuffer) bool

ShapedTextGetPreserveInvalid is promoted from TextServer.Instance.ShapedTextGetPreserveInvalid.

func (*Extension[T]) ShapedTextGetRange

func (o *Extension[T]) ShapedTextGetRange(shaped RID.TextBuffer) Vector2i.XY

ShapedTextGetRange is promoted from TextServer.Instance.ShapedTextGetRange.

func (*Extension[T]) ShapedTextGetSelection

func (o *Extension[T]) ShapedTextGetSelection(shaped RID.TextBuffer, start int, end int) []Vector2.XY

ShapedTextGetSelection is promoted from TextServer.Instance.ShapedTextGetSelection.

func (*Extension[T]) ShapedTextGetSize

func (o *Extension[T]) ShapedTextGetSize(shaped RID.TextBuffer) Vector2.XY

ShapedTextGetSize is promoted from TextServer.Instance.ShapedTextGetSize.

func (*Extension[T]) ShapedTextGetSpacing

func (o *Extension[T]) ShapedTextGetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType) int

ShapedTextGetSpacing is promoted from TextServer.Instance.ShapedTextGetSpacing.

func (*Extension[T]) ShapedTextGetTrimPos

func (o *Extension[T]) ShapedTextGetTrimPos(shaped RID.TextBuffer) int

ShapedTextGetTrimPos is promoted from TextServer.Instance.ShapedTextGetTrimPos.

func (*Extension[T]) ShapedTextGetUnderlinePosition

func (o *Extension[T]) ShapedTextGetUnderlinePosition(shaped RID.TextBuffer) Float.X

ShapedTextGetUnderlinePosition is promoted from TextServer.Instance.ShapedTextGetUnderlinePosition.

func (*Extension[T]) ShapedTextGetUnderlineThickness

func (o *Extension[T]) ShapedTextGetUnderlineThickness(shaped RID.TextBuffer) Float.X

ShapedTextGetUnderlineThickness is promoted from TextServer.Instance.ShapedTextGetUnderlineThickness.

func (*Extension[T]) ShapedTextGetWidth

func (o *Extension[T]) ShapedTextGetWidth(shaped RID.TextBuffer) Float.X

ShapedTextGetWidth is promoted from TextServer.Instance.ShapedTextGetWidth.

func (*Extension[T]) ShapedTextHasObject

func (o *Extension[T]) ShapedTextHasObject(shaped RID.TextBuffer, key any) bool

ShapedTextHasObject is promoted from TextServer.Instance.ShapedTextHasObject.

func (*Extension[T]) ShapedTextHasVisibleChars

func (o *Extension[T]) ShapedTextHasVisibleChars(shaped RID.TextBuffer) bool

ShapedTextHasVisibleChars is promoted from TextServer.Instance.ShapedTextHasVisibleChars.

func (*Extension[T]) ShapedTextHitTestGrapheme

func (o *Extension[T]) ShapedTextHitTestGrapheme(shaped RID.TextBuffer, coords Float.X) int

ShapedTextHitTestGrapheme is promoted from TextServer.Instance.ShapedTextHitTestGrapheme.

func (*Extension[T]) ShapedTextHitTestPosition

func (o *Extension[T]) ShapedTextHitTestPosition(shaped RID.TextBuffer, coords Float.X) int

ShapedTextHitTestPosition is promoted from TextServer.Instance.ShapedTextHitTestPosition.

func (*Extension[T]) ShapedTextIsReady

func (o *Extension[T]) ShapedTextIsReady(shaped RID.TextBuffer) bool

ShapedTextIsReady is promoted from TextServer.Instance.ShapedTextIsReady.

func (*Extension[T]) ShapedTextNextCharacterPos

func (o *Extension[T]) ShapedTextNextCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextNextCharacterPos is promoted from TextServer.Instance.ShapedTextNextCharacterPos.

func (*Extension[T]) ShapedTextNextGraphemePos

func (o *Extension[T]) ShapedTextNextGraphemePos(shaped RID.TextBuffer, pos int) int

ShapedTextNextGraphemePos is promoted from TextServer.Instance.ShapedTextNextGraphemePos.

func (*Extension[T]) ShapedTextPrevCharacterPos

func (o *Extension[T]) ShapedTextPrevCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextPrevCharacterPos is promoted from TextServer.Instance.ShapedTextPrevCharacterPos.

func (*Extension[T]) ShapedTextPrevGraphemePos

func (o *Extension[T]) ShapedTextPrevGraphemePos(shaped RID.TextBuffer, pos int) int

ShapedTextPrevGraphemePos is promoted from TextServer.Instance.ShapedTextPrevGraphemePos.

func (*Extension[T]) ShapedTextSetBidiOverride

func (o *Extension[T]) ShapedTextSetBidiOverride(shaped RID.TextBuffer, override []any)

ShapedTextSetBidiOverride is promoted from TextServer.Instance.ShapedTextSetBidiOverride.

func (*Extension[T]) ShapedTextSetCustomEllipsis

func (o *Extension[T]) ShapedTextSetCustomEllipsis(shaped RID.TextBuffer, char int)

ShapedTextSetCustomEllipsis is promoted from TextServer.Instance.ShapedTextSetCustomEllipsis.

func (*Extension[T]) ShapedTextSetCustomPunctuation

func (o *Extension[T]) ShapedTextSetCustomPunctuation(shaped RID.TextBuffer, punct string)

ShapedTextSetCustomPunctuation is promoted from TextServer.Instance.ShapedTextSetCustomPunctuation.

func (*Extension[T]) ShapedTextSetPreserveControl

func (o *Extension[T]) ShapedTextSetPreserveControl(shaped RID.TextBuffer, enabled bool)

ShapedTextSetPreserveControl is promoted from TextServer.Instance.ShapedTextSetPreserveControl.

func (*Extension[T]) ShapedTextSetPreserveInvalid

func (o *Extension[T]) ShapedTextSetPreserveInvalid(shaped RID.TextBuffer, enabled bool)

ShapedTextSetPreserveInvalid is promoted from TextServer.Instance.ShapedTextSetPreserveInvalid.

func (*Extension[T]) ShapedTextSetSpacing

func (o *Extension[T]) ShapedTextSetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType, value int)

ShapedTextSetSpacing is promoted from TextServer.Instance.ShapedTextSetSpacing.

func (*Extension[T]) ShapedTextShape

func (o *Extension[T]) ShapedTextShape(shaped RID.TextBuffer) bool

ShapedTextShape is promoted from TextServer.Instance.ShapedTextShape.

func (*Extension[T]) ShapedTextSortLogical

func (o *Extension[T]) ShapedTextSortLogical(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextSortLogical is promoted from TextServer.Instance.ShapedTextSortLogical.

func (*Extension[T]) ShapedTextSubstr

func (o *Extension[T]) ShapedTextSubstr(shaped RID.TextBuffer, start int, length int) RID.TextBuffer

ShapedTextSubstr is promoted from TextServer.Instance.ShapedTextSubstr.

func (*Extension[T]) ShapedTextTabAlign

func (o *Extension[T]) ShapedTextTabAlign(shaped RID.TextBuffer, tab_stops []float32) Float.X

ShapedTextTabAlign is promoted from TextServer.Instance.ShapedTextTabAlign.

func (*Extension[T]) SpoofCheck

func (o *Extension[T]) SpoofCheck(s string) bool

SpoofCheck is promoted from TextServer.Instance.SpoofCheck.

func (*Extension[T]) StripDiacritics

func (o *Extension[T]) StripDiacritics(s string) string

StripDiacritics is promoted from TextServer.Instance.StripDiacritics.

func (*Extension[T]) TagToName

func (o *Extension[T]) TagToName(tag int) string

TagToName is promoted from TextServer.Instance.TagToName.

type FontSizeCacheInfo

type FontSizeCacheInfo struct {
	SizePixels struct {
		X int32
		Y int32
	} `gd:"size_px"`
	ViewportOversampling float32 `gd:"viewport_oversampling"`
	Glyphs               int     `gd:"glyphs"`
	Textures             int     `gd:"textures"`
	TexturesSize         int     `gd:"textures_size"`
}

type Glyph

type Glyph struct {
	Start  int32  `gd:"start"`
	End    int32  `gd:"end"`
	Repeat uint8  `gd:"repeat"`
	Count  uint8  `gd:"count"`
	Flags  uint16 `gd:"flags"`
	Offset struct {
		X float32
		Y float32
	} `gd:"offset"`
	Advance  float32  `gd:"advance"`
	FontRID  RID.Font `gd:"font_rid"`
	FontSize int32    `gd:"font_size"`
	Index    int32    `gd:"index"`
}

type GlyphContours

type GlyphContours struct {
	Points []struct {
		X float32
		Y float32
		Z float32
	} `gd:"points"`
	Contours    []int32 `gd:"contours"`
	Orientation bool    `gd:"orientation"`
}

type ID

type ID Object.ID

ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

type Instance [1]gdclass.TextServerAdvanced

Instance of the class with convieniently typed arguments and results.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (o Instance) AsObject() [1]gdreference.Object

func (Instance) AsRefCounted

func (o Instance) AsRefCounted() ie.RC

func (Instance) AsTextServer

func (o Instance) AsTextServer() TextServer.Instance

func (Instance) AsTextServerAdvanced

func (o Instance) AsTextServerAdvanced() Instance

func (Instance) AsTextServerExtension

func (o Instance) AsTextServerExtension() TextServerExtension.Instance

func (Instance) CreateFont

func (self Instance) CreateFont() RID.Font

CreateFont is promoted from TextServer.Instance.CreateFont.

func (Instance) CreateFontLinkedVariation

func (self Instance) CreateFontLinkedVariation(font_rid RID.Font) RID.Font

CreateFontLinkedVariation is promoted from TextServer.Instance.CreateFontLinkedVariation.

func (Instance) DrawHexCodeBox

func (self Instance) DrawHexCodeBox(canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA)

DrawHexCodeBox is promoted from TextServer.Instance.DrawHexCodeBox.

func (Instance) FontClearGlyphs

func (self Instance) FontClearGlyphs(font_rid RID.Font, size Vector2i.XY)

FontClearGlyphs is promoted from TextServer.Instance.FontClearGlyphs.

func (Instance) FontClearKerningMap

func (self Instance) FontClearKerningMap(font_rid RID.Font, size int)

FontClearKerningMap is promoted from TextServer.Instance.FontClearKerningMap.

func (Instance) FontClearSizeCache

func (self Instance) FontClearSizeCache(font_rid RID.Font)

FontClearSizeCache is promoted from TextServer.Instance.FontClearSizeCache.

func (Instance) FontClearSystemFallbackCache

func (self Instance) FontClearSystemFallbackCache()

FontClearSystemFallbackCache is promoted from TextServer.Instance.FontClearSystemFallbackCache.

func (Instance) FontClearTextures

func (self Instance) FontClearTextures(font_rid RID.Font, size Vector2i.XY)

FontClearTextures is promoted from TextServer.Instance.FontClearTextures.

func (Instance) FontGetAntialiasing

func (self Instance) FontGetAntialiasing(font_rid RID.Font) TextServer.FontAntialiasing

FontGetAntialiasing is promoted from TextServer.Instance.FontGetAntialiasing.

func (Instance) FontGetAscent

func (self Instance) FontGetAscent(font_rid RID.Font, size int) Float.X

FontGetAscent is promoted from TextServer.Instance.FontGetAscent.

func (Instance) FontGetBaselineOffset

func (self Instance) FontGetBaselineOffset(font_rid RID.Font) Float.X

FontGetBaselineOffset is promoted from TextServer.Instance.FontGetBaselineOffset.

func (Instance) FontGetCharFromGlyphIndex

func (self Instance) FontGetCharFromGlyphIndex(font_rid RID.Font, size int, glyph_index int) int

FontGetCharFromGlyphIndex is promoted from TextServer.Instance.FontGetCharFromGlyphIndex.

func (Instance) FontGetDescent

func (self Instance) FontGetDescent(font_rid RID.Font, size int) Float.X

FontGetDescent is promoted from TextServer.Instance.FontGetDescent.

func (Instance) FontGetDisableEmbeddedBitmaps

func (self Instance) FontGetDisableEmbeddedBitmaps(font_rid RID.Font) bool

FontGetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontGetDisableEmbeddedBitmaps.

func (Instance) FontGetEmbolden

func (self Instance) FontGetEmbolden(font_rid RID.Font) Float.X

FontGetEmbolden is promoted from TextServer.Instance.FontGetEmbolden.

func (Instance) FontGetFaceCount

func (self Instance) FontGetFaceCount(font_rid RID.Font) int

FontGetFaceCount is promoted from TextServer.Instance.FontGetFaceCount.

func (Instance) FontGetFaceIndex

func (self Instance) FontGetFaceIndex(font_rid RID.Font) int

FontGetFaceIndex is promoted from TextServer.Instance.FontGetFaceIndex.

func (Instance) FontGetFixedSize

func (self Instance) FontGetFixedSize(font_rid RID.Font) int

FontGetFixedSize is promoted from TextServer.Instance.FontGetFixedSize.

func (Instance) FontGetFixedSizeScaleMode

func (self Instance) FontGetFixedSizeScaleMode(font_rid RID.Font) TextServer.FixedSizeScaleMode

FontGetFixedSizeScaleMode is promoted from TextServer.Instance.FontGetFixedSizeScaleMode.

func (Instance) FontGetGenerateMipmaps

func (self Instance) FontGetGenerateMipmaps(font_rid RID.Font) bool

FontGetGenerateMipmaps is promoted from TextServer.Instance.FontGetGenerateMipmaps.

func (Instance) FontGetGlobalOversampling

func (self Instance) FontGetGlobalOversampling() Float.X

FontGetGlobalOversampling is promoted from TextServer.Instance.FontGetGlobalOversampling.

func (Instance) FontGetGlyphAdvance

func (self Instance) FontGetGlyphAdvance(font_rid RID.Font, size int, glyph int) Vector2.XY

FontGetGlyphAdvance is promoted from TextServer.Instance.FontGetGlyphAdvance.

func (Instance) FontGetGlyphContours

func (self Instance) FontGetGlyphContours(font RID.Font, size int, index int) TextServer.GlyphContours

FontGetGlyphContours is promoted from TextServer.Instance.FontGetGlyphContours.

func (Instance) FontGetGlyphIndex

func (self Instance) FontGetGlyphIndex(font_rid RID.Font, size int, char int, variation_selector int) int

FontGetGlyphIndex is promoted from TextServer.Instance.FontGetGlyphIndex.

func (Instance) FontGetGlyphList

func (self Instance) FontGetGlyphList(font_rid RID.Font, size Vector2i.XY) []int32

FontGetGlyphList is promoted from TextServer.Instance.FontGetGlyphList.

func (Instance) FontGetGlyphOffset

func (self Instance) FontGetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphOffset is promoted from TextServer.Instance.FontGetGlyphOffset.

func (Instance) FontGetGlyphSize

func (self Instance) FontGetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphSize is promoted from TextServer.Instance.FontGetGlyphSize.

func (Instance) FontGetGlyphTextureIdx

func (self Instance) FontGetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int) int

FontGetGlyphTextureIdx is promoted from TextServer.Instance.FontGetGlyphTextureIdx.

func (Instance) FontGetGlyphTextureRid

func (self Instance) FontGetGlyphTextureRid(font_rid RID.Font, size Vector2i.XY, glyph int) RID.Texture

FontGetGlyphTextureRid is promoted from TextServer.Instance.FontGetGlyphTextureRid.

func (Instance) FontGetGlyphTextureSize

func (self Instance) FontGetGlyphTextureSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY

FontGetGlyphTextureSize is promoted from TextServer.Instance.FontGetGlyphTextureSize.

func (Instance) FontGetGlyphUvRect

func (self Instance) FontGetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int) Rect2.PositionSize

FontGetGlyphUvRect is promoted from TextServer.Instance.FontGetGlyphUvRect.

func (Instance) FontGetHinting

func (self Instance) FontGetHinting(font_rid RID.Font) TextServer.Hinting

FontGetHinting is promoted from TextServer.Instance.FontGetHinting.

func (Instance) FontGetKeepRoundingRemainders

func (self Instance) FontGetKeepRoundingRemainders(font_rid RID.Font) bool

FontGetKeepRoundingRemainders is promoted from TextServer.Instance.FontGetKeepRoundingRemainders.

func (Instance) FontGetKerning

func (self Instance) FontGetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY) Vector2.XY

FontGetKerning is promoted from TextServer.Instance.FontGetKerning.

func (Instance) FontGetKerningList

func (self Instance) FontGetKerningList(font_rid RID.Font, size int) []Vector2i.XY

FontGetKerningList is promoted from TextServer.Instance.FontGetKerningList.

func (Instance) FontGetLanguageSupportOverride

func (self Instance) FontGetLanguageSupportOverride(font_rid RID.Font, language string) bool

FontGetLanguageSupportOverride is promoted from TextServer.Instance.FontGetLanguageSupportOverride.

func (Instance) FontGetLanguageSupportOverrides

func (self Instance) FontGetLanguageSupportOverrides(font_rid RID.Font) []string

FontGetLanguageSupportOverrides is promoted from TextServer.Instance.FontGetLanguageSupportOverrides.

func (Instance) FontGetMsdfPixelRange

func (self Instance) FontGetMsdfPixelRange(font_rid RID.Font) int

FontGetMsdfPixelRange is promoted from TextServer.Instance.FontGetMsdfPixelRange.

func (Instance) FontGetMsdfSize

func (self Instance) FontGetMsdfSize(font_rid RID.Font) int

FontGetMsdfSize is promoted from TextServer.Instance.FontGetMsdfSize.

func (Instance) FontGetName

func (self Instance) FontGetName(font_rid RID.Font) string

FontGetName is promoted from TextServer.Instance.FontGetName.

func (Instance) FontGetOpentypeFeatureOverrides

func (self Instance) FontGetOpentypeFeatureOverrides(font_rid RID.Font) map[string][2]string

FontGetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontGetOpentypeFeatureOverrides.

func (Instance) FontGetOtNameStrings

func (self Instance) FontGetOtNameStrings(font_rid RID.Font) map[string]map[string]string

FontGetOtNameStrings is promoted from TextServer.Instance.FontGetOtNameStrings.

func (Instance) FontGetOversampling

func (self Instance) FontGetOversampling(font_rid RID.Font) Float.X

FontGetOversampling is promoted from TextServer.Instance.FontGetOversampling.

func (Instance) FontGetScale

func (self Instance) FontGetScale(font_rid RID.Font, size int) Float.X

FontGetScale is promoted from TextServer.Instance.FontGetScale.

func (Instance) FontGetScriptSupportOverride

func (self Instance) FontGetScriptSupportOverride(font_rid RID.Font, script string) bool

FontGetScriptSupportOverride is promoted from TextServer.Instance.FontGetScriptSupportOverride.

func (Instance) FontGetScriptSupportOverrides

func (self Instance) FontGetScriptSupportOverrides(font_rid RID.Font) []string

FontGetScriptSupportOverrides is promoted from TextServer.Instance.FontGetScriptSupportOverrides.

func (Instance) FontGetSizeCacheInfo

func (self Instance) FontGetSizeCacheInfo(font_rid RID.Font) []TextServer.FontSizeCacheInfo

FontGetSizeCacheInfo is promoted from TextServer.Instance.FontGetSizeCacheInfo.

func (Instance) FontGetSizeCacheList

func (self Instance) FontGetSizeCacheList(font_rid RID.Font) []Vector2i.XY

FontGetSizeCacheList is promoted from TextServer.Instance.FontGetSizeCacheList.

func (Instance) FontGetSpacing

func (self Instance) FontGetSpacing(font_rid RID.Font, spacing TextServer.SpacingType) int

FontGetSpacing is promoted from TextServer.Instance.FontGetSpacing.

func (Instance) FontGetStretch

func (self Instance) FontGetStretch(font_rid RID.Font) int

FontGetStretch is promoted from TextServer.Instance.FontGetStretch.

func (Instance) FontGetStyle

func (self Instance) FontGetStyle(font_rid RID.Font) TextServer.FontStyle

FontGetStyle is promoted from TextServer.Instance.FontGetStyle.

func (Instance) FontGetStyleName

func (self Instance) FontGetStyleName(font_rid RID.Font) string

FontGetStyleName is promoted from TextServer.Instance.FontGetStyleName.

func (Instance) FontGetSubpixelPositioning

func (self Instance) FontGetSubpixelPositioning(font_rid RID.Font) TextServer.SubpixelPositioning

FontGetSubpixelPositioning is promoted from TextServer.Instance.FontGetSubpixelPositioning.

func (Instance) FontGetSupportedChars

func (self Instance) FontGetSupportedChars(font_rid RID.Font) string

FontGetSupportedChars is promoted from TextServer.Instance.FontGetSupportedChars.

func (Instance) FontGetSupportedGlyphs

func (self Instance) FontGetSupportedGlyphs(font_rid RID.Font) []int32

FontGetSupportedGlyphs is promoted from TextServer.Instance.FontGetSupportedGlyphs.

func (Instance) FontGetTextureCount

func (self Instance) FontGetTextureCount(font_rid RID.Font, size Vector2i.XY) int

FontGetTextureCount is promoted from TextServer.Instance.FontGetTextureCount.

func (Instance) FontGetTextureImage

func (self Instance) FontGetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int) Image.Instance

FontGetTextureImage is promoted from TextServer.Instance.FontGetTextureImage.

func (Instance) FontGetTextureOffsets

func (self Instance) FontGetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int) []int32

FontGetTextureOffsets is promoted from TextServer.Instance.FontGetTextureOffsets.

func (Instance) FontGetTransform

func (self Instance) FontGetTransform(font_rid RID.Font) Transform2D.OriginXY

FontGetTransform is promoted from TextServer.Instance.FontGetTransform.

func (Instance) FontGetUnderlinePosition

func (self Instance) FontGetUnderlinePosition(font_rid RID.Font, size int) Float.X

FontGetUnderlinePosition is promoted from TextServer.Instance.FontGetUnderlinePosition.

func (Instance) FontGetUnderlineThickness

func (self Instance) FontGetUnderlineThickness(font_rid RID.Font, size int) Float.X

FontGetUnderlineThickness is promoted from TextServer.Instance.FontGetUnderlineThickness.

func (Instance) FontGetVariationCoordinates

func (self Instance) FontGetVariationCoordinates(font_rid RID.Font) map[string]float32

FontGetVariationCoordinates is promoted from TextServer.Instance.FontGetVariationCoordinates.

func (Instance) FontGetWeight

func (self Instance) FontGetWeight(font_rid RID.Font) int

FontGetWeight is promoted from TextServer.Instance.FontGetWeight.

func (Instance) FontHasChar

func (self Instance) FontHasChar(font_rid RID.Font, char int) bool

FontHasChar is promoted from TextServer.Instance.FontHasChar.

func (Instance) FontIsAllowSystemFallback

func (self Instance) FontIsAllowSystemFallback(font_rid RID.Font) bool

FontIsAllowSystemFallback is promoted from TextServer.Instance.FontIsAllowSystemFallback.

func (Instance) FontIsForceAutohinter

func (self Instance) FontIsForceAutohinter(font_rid RID.Font) bool

FontIsForceAutohinter is promoted from TextServer.Instance.FontIsForceAutohinter.

func (Instance) FontIsLanguageSupported

func (self Instance) FontIsLanguageSupported(font_rid RID.Font, language string) bool

FontIsLanguageSupported is promoted from TextServer.Instance.FontIsLanguageSupported.

func (Instance) FontIsModulateColorGlyphs

func (self Instance) FontIsModulateColorGlyphs(font_rid RID.Font) bool

FontIsModulateColorGlyphs is promoted from TextServer.Instance.FontIsModulateColorGlyphs.

func (Instance) FontIsMultichannelSignedDistanceField

func (self Instance) FontIsMultichannelSignedDistanceField(font_rid RID.Font) bool

FontIsMultichannelSignedDistanceField is promoted from TextServer.Instance.FontIsMultichannelSignedDistanceField.

func (Instance) FontIsScriptSupported

func (self Instance) FontIsScriptSupported(font_rid RID.Font, script string) bool

FontIsScriptSupported is promoted from TextServer.Instance.FontIsScriptSupported.

func (Instance) FontRemoveGlyph

func (self Instance) FontRemoveGlyph(font_rid RID.Font, size Vector2i.XY, glyph int)

FontRemoveGlyph is promoted from TextServer.Instance.FontRemoveGlyph.

func (Instance) FontRemoveKerning

func (self Instance) FontRemoveKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY)

FontRemoveKerning is promoted from TextServer.Instance.FontRemoveKerning.

func (Instance) FontRemoveLanguageSupportOverride

func (self Instance) FontRemoveLanguageSupportOverride(font_rid RID.Font, language string)

FontRemoveLanguageSupportOverride is promoted from TextServer.Instance.FontRemoveLanguageSupportOverride.

func (Instance) FontRemoveScriptSupportOverride

func (self Instance) FontRemoveScriptSupportOverride(font_rid RID.Font, script string)

FontRemoveScriptSupportOverride is promoted from TextServer.Instance.FontRemoveScriptSupportOverride.

func (Instance) FontRemoveSizeCache

func (self Instance) FontRemoveSizeCache(font_rid RID.Font, size Vector2i.XY)

FontRemoveSizeCache is promoted from TextServer.Instance.FontRemoveSizeCache.

func (Instance) FontRemoveTexture

func (self Instance) FontRemoveTexture(font_rid RID.Font, size Vector2i.XY, texture_index int)

FontRemoveTexture is promoted from TextServer.Instance.FontRemoveTexture.

func (Instance) FontRenderGlyph

func (self Instance) FontRenderGlyph(font_rid RID.Font, size Vector2i.XY, index int)

FontRenderGlyph is promoted from TextServer.Instance.FontRenderGlyph.

func (Instance) FontRenderRange

func (self Instance) FontRenderRange(font_rid RID.Font, size Vector2i.XY, start int, end int)

FontRenderRange is promoted from TextServer.Instance.FontRenderRange.

func (Instance) FontSetAllowSystemFallback

func (self Instance) FontSetAllowSystemFallback(font_rid RID.Font, allow_system_fallback bool)

FontSetAllowSystemFallback is promoted from TextServer.Instance.FontSetAllowSystemFallback.

func (Instance) FontSetAntialiasing

func (self Instance) FontSetAntialiasing(font_rid RID.Font, antialiasing TextServer.FontAntialiasing)

FontSetAntialiasing is promoted from TextServer.Instance.FontSetAntialiasing.

func (Instance) FontSetAscent

func (self Instance) FontSetAscent(font_rid RID.Font, size int, ascent Float.X)

FontSetAscent is promoted from TextServer.Instance.FontSetAscent.

func (Instance) FontSetBaselineOffset

func (self Instance) FontSetBaselineOffset(font_rid RID.Font, baseline_offset Float.X)

FontSetBaselineOffset is promoted from TextServer.Instance.FontSetBaselineOffset.

func (Instance) FontSetData

func (self Instance) FontSetData(font_rid RID.Font, data []byte)

FontSetData is promoted from TextServer.Instance.FontSetData.

func (Instance) FontSetDescent

func (self Instance) FontSetDescent(font_rid RID.Font, size int, descent Float.X)

FontSetDescent is promoted from TextServer.Instance.FontSetDescent.

func (Instance) FontSetDisableEmbeddedBitmaps

func (self Instance) FontSetDisableEmbeddedBitmaps(font_rid RID.Font, disable_embedded_bitmaps bool)

FontSetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontSetDisableEmbeddedBitmaps.

func (Instance) FontSetEmbolden

func (self Instance) FontSetEmbolden(font_rid RID.Font, strength Float.X)

FontSetEmbolden is promoted from TextServer.Instance.FontSetEmbolden.

func (Instance) FontSetFaceIndex

func (self Instance) FontSetFaceIndex(font_rid RID.Font, face_index int)

FontSetFaceIndex is promoted from TextServer.Instance.FontSetFaceIndex.

func (Instance) FontSetFixedSize

func (self Instance) FontSetFixedSize(font_rid RID.Font, fixed_size int)

FontSetFixedSize is promoted from TextServer.Instance.FontSetFixedSize.

func (Instance) FontSetFixedSizeScaleMode

func (self Instance) FontSetFixedSizeScaleMode(font_rid RID.Font, fixed_size_scale_mode TextServer.FixedSizeScaleMode)

FontSetFixedSizeScaleMode is promoted from TextServer.Instance.FontSetFixedSizeScaleMode.

func (Instance) FontSetForceAutohinter

func (self Instance) FontSetForceAutohinter(font_rid RID.Font, force_autohinter bool)

FontSetForceAutohinter is promoted from TextServer.Instance.FontSetForceAutohinter.

func (Instance) FontSetGenerateMipmaps

func (self Instance) FontSetGenerateMipmaps(font_rid RID.Font, generate_mipmaps bool)

FontSetGenerateMipmaps is promoted from TextServer.Instance.FontSetGenerateMipmaps.

func (Instance) FontSetGlobalOversampling

func (self Instance) FontSetGlobalOversampling(oversampling Float.X)

FontSetGlobalOversampling is promoted from TextServer.Instance.FontSetGlobalOversampling.

func (Instance) FontSetGlyphAdvance

func (self Instance) FontSetGlyphAdvance(font_rid RID.Font, size int, glyph int, advance Vector2.XY)

FontSetGlyphAdvance is promoted from TextServer.Instance.FontSetGlyphAdvance.

func (Instance) FontSetGlyphOffset

func (self Instance) FontSetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int, offset Vector2.XY)

FontSetGlyphOffset is promoted from TextServer.Instance.FontSetGlyphOffset.

func (Instance) FontSetGlyphSize

func (self Instance) FontSetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int, gl_size Vector2.XY)

FontSetGlyphSize is promoted from TextServer.Instance.FontSetGlyphSize.

func (Instance) FontSetGlyphTextureIdx

func (self Instance) FontSetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int, texture_idx int)

FontSetGlyphTextureIdx is promoted from TextServer.Instance.FontSetGlyphTextureIdx.

func (Instance) FontSetGlyphUvRect

func (self Instance) FontSetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int, uv_rect Rect2.PositionSize)

FontSetGlyphUvRect is promoted from TextServer.Instance.FontSetGlyphUvRect.

func (Instance) FontSetHinting

func (self Instance) FontSetHinting(font_rid RID.Font, hinting TextServer.Hinting)

FontSetHinting is promoted from TextServer.Instance.FontSetHinting.

func (Instance) FontSetKeepRoundingRemainders

func (self Instance) FontSetKeepRoundingRemainders(font_rid RID.Font, keep_rounding_remainders bool)

FontSetKeepRoundingRemainders is promoted from TextServer.Instance.FontSetKeepRoundingRemainders.

func (Instance) FontSetKerning

func (self Instance) FontSetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY, kerning Vector2.XY)

FontSetKerning is promoted from TextServer.Instance.FontSetKerning.

func (Instance) FontSetLanguageSupportOverride

func (self Instance) FontSetLanguageSupportOverride(font_rid RID.Font, language string, supported bool)

FontSetLanguageSupportOverride is promoted from TextServer.Instance.FontSetLanguageSupportOverride.

func (Instance) FontSetModulateColorGlyphs

func (self Instance) FontSetModulateColorGlyphs(font_rid RID.Font, force_autohinter bool)

FontSetModulateColorGlyphs is promoted from TextServer.Instance.FontSetModulateColorGlyphs.

func (Instance) FontSetMsdfPixelRange

func (self Instance) FontSetMsdfPixelRange(font_rid RID.Font, msdf_pixel_range int)

FontSetMsdfPixelRange is promoted from TextServer.Instance.FontSetMsdfPixelRange.

func (Instance) FontSetMsdfSize

func (self Instance) FontSetMsdfSize(font_rid RID.Font, msdf_size int)

FontSetMsdfSize is promoted from TextServer.Instance.FontSetMsdfSize.

func (Instance) FontSetMultichannelSignedDistanceField

func (self Instance) FontSetMultichannelSignedDistanceField(font_rid RID.Font, msdf bool)

FontSetMultichannelSignedDistanceField is promoted from TextServer.Instance.FontSetMultichannelSignedDistanceField.

func (Instance) FontSetName

func (self Instance) FontSetName(font_rid RID.Font, name string)

FontSetName is promoted from TextServer.Instance.FontSetName.

func (Instance) FontSetOpentypeFeatureOverrides

func (self Instance) FontSetOpentypeFeatureOverrides(font_rid RID.Font, overrides map[string][2]string)

FontSetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontSetOpentypeFeatureOverrides.

func (Instance) FontSetOversampling

func (self Instance) FontSetOversampling(font_rid RID.Font, oversampling Float.X)

FontSetOversampling is promoted from TextServer.Instance.FontSetOversampling.

func (Instance) FontSetScale

func (self Instance) FontSetScale(font_rid RID.Font, size int, scale Float.X)

FontSetScale is promoted from TextServer.Instance.FontSetScale.

func (Instance) FontSetScriptSupportOverride

func (self Instance) FontSetScriptSupportOverride(font_rid RID.Font, script string, supported bool)

FontSetScriptSupportOverride is promoted from TextServer.Instance.FontSetScriptSupportOverride.

func (Instance) FontSetSpacing

func (self Instance) FontSetSpacing(font_rid RID.Font, spacing TextServer.SpacingType, value int)

FontSetSpacing is promoted from TextServer.Instance.FontSetSpacing.

func (Instance) FontSetStretch

func (self Instance) FontSetStretch(font_rid RID.Font, weight int)

FontSetStretch is promoted from TextServer.Instance.FontSetStretch.

func (Instance) FontSetStyle

func (self Instance) FontSetStyle(font_rid RID.Font, style TextServer.FontStyle)

FontSetStyle is promoted from TextServer.Instance.FontSetStyle.

func (Instance) FontSetStyleName

func (self Instance) FontSetStyleName(font_rid RID.Font, name string)

FontSetStyleName is promoted from TextServer.Instance.FontSetStyleName.

func (Instance) FontSetSubpixelPositioning

func (self Instance) FontSetSubpixelPositioning(font_rid RID.Font, subpixel_positioning TextServer.SubpixelPositioning)

FontSetSubpixelPositioning is promoted from TextServer.Instance.FontSetSubpixelPositioning.

func (Instance) FontSetTextureImage

func (self Instance) FontSetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int, image Image.Instance)

FontSetTextureImage is promoted from TextServer.Instance.FontSetTextureImage.

func (Instance) FontSetTextureOffsets

func (self Instance) FontSetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int, offset []int32)

FontSetTextureOffsets is promoted from TextServer.Instance.FontSetTextureOffsets.

func (Instance) FontSetTransform

func (self Instance) FontSetTransform(font_rid RID.Font, transform Transform2D.OriginXY)

FontSetTransform is promoted from TextServer.Instance.FontSetTransform.

func (Instance) FontSetUnderlinePosition

func (self Instance) FontSetUnderlinePosition(font_rid RID.Font, size int, underline_position Float.X)

FontSetUnderlinePosition is promoted from TextServer.Instance.FontSetUnderlinePosition.

func (Instance) FontSetUnderlineThickness

func (self Instance) FontSetUnderlineThickness(font_rid RID.Font, size int, underline_thickness Float.X)

FontSetUnderlineThickness is promoted from TextServer.Instance.FontSetUnderlineThickness.

func (Instance) FontSetVariationCoordinates

func (self Instance) FontSetVariationCoordinates(font_rid RID.Font, variation_coordinates map[string]float32)

FontSetVariationCoordinates is promoted from TextServer.Instance.FontSetVariationCoordinates.

func (Instance) FontSetWeight

func (self Instance) FontSetWeight(font_rid RID.Font, weight int)

FontSetWeight is promoted from TextServer.Instance.FontSetWeight.

func (Instance) FontSupportedFeatureList

func (self Instance) FontSupportedFeatureList(font_rid RID.Font) map[string]TextServer.OpenTypeFeature

FontSupportedFeatureList is promoted from TextServer.Instance.FontSupportedFeatureList.

func (Instance) FontSupportedVariationList

func (self Instance) FontSupportedVariationList(font_rid RID.Font) map[int]struct {
	X int32
	Y int32
	Z int32
}

FontSupportedVariationList is promoted from TextServer.Instance.FontSupportedVariationList.

func (Instance) FreeRid

func (self Instance) FreeRid(rid RID.Any)

FreeRid is promoted from TextServer.Instance.FreeRid.

func (Instance) GetFeatures

func (self Instance) GetFeatures() int

GetFeatures is promoted from TextServer.Instance.GetFeatures.

func (Instance) GetHexCodeBoxSize

func (self Instance) GetHexCodeBoxSize(size int, index int) Vector2.XY

GetHexCodeBoxSize is promoted from TextServer.Instance.GetHexCodeBoxSize.

func (Instance) GetName

func (self Instance) GetName() string

GetName is promoted from TextServer.Instance.GetName.

func (Instance) GetSupportData

func (self Instance) GetSupportData() []byte

GetSupportData is promoted from TextServer.Instance.GetSupportData.

func (Instance) GetSupportDataFilename

func (self Instance) GetSupportDataFilename() string

GetSupportDataFilename is promoted from TextServer.Instance.GetSupportDataFilename.

func (Instance) GetSupportDataInfo

func (self Instance) GetSupportDataInfo() string

GetSupportDataInfo is promoted from TextServer.Instance.GetSupportDataInfo.

func (Instance) Has

func (self Instance) Has(rid RID.Any) bool

Has is promoted from TextServer.Instance.Has.

func (Instance) HasFeature

func (self Instance) HasFeature(feature TextServer.Feature) bool

HasFeature is promoted from TextServer.Instance.HasFeature.

func (Instance) ID

func (self Instance) ID() ID

func (Instance) IsConfusable

func (self Instance) IsConfusable(s string, dict []string) int

IsConfusable is promoted from TextServer.Instance.IsConfusable.

func (Instance) IsLocaleRightToLeft

func (self Instance) IsLocaleRightToLeft(locale string) bool

IsLocaleRightToLeft is promoted from TextServer.Instance.IsLocaleRightToLeft.

func (Instance) IsLocaleUsingSupportData

func (self Instance) IsLocaleUsingSupportData(locale string) bool

IsLocaleUsingSupportData is promoted from TextServer.Instance.IsLocaleUsingSupportData.

func (Instance) IsValidIdentifier

func (self Instance) IsValidIdentifier(s string) bool

IsValidIdentifier is promoted from TextServer.Instance.IsValidIdentifier.

func (Instance) IsValidLetter

func (self Instance) IsValidLetter(unicode int) bool

IsValidLetter is promoted from TextServer.Instance.IsValidLetter.

func (Instance) LoadSupportData

func (self Instance) LoadSupportData(filename string) bool

LoadSupportData is promoted from TextServer.Instance.LoadSupportData.

func (Instance) NameToTag

func (self Instance) NameToTag(name string) int

NameToTag is promoted from TextServer.Instance.NameToTag.

func (Instance) ParseStructuredText

func (self Instance) ParseStructuredText(parser_type TextServer.StructuredTextParser, args []any, text string) []Vector3i.XYZ

ParseStructuredText is promoted from TextServer.Instance.ParseStructuredText.

func (Instance) SaveSupportData

func (self Instance) SaveSupportData(filename string) bool

SaveSupportData is promoted from TextServer.Instance.SaveSupportData.

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gdreference.Object) bool

func (Instance) ShapedGetRunCount

func (self Instance) ShapedGetRunCount(shaped RID.TextBuffer) int

ShapedGetRunCount is promoted from TextServer.Instance.ShapedGetRunCount.

func (Instance) ShapedGetRunDirection

func (self Instance) ShapedGetRunDirection(shaped RID.TextBuffer, index int) TextServer.Direction

ShapedGetRunDirection is promoted from TextServer.Instance.ShapedGetRunDirection.

func (Instance) ShapedGetRunFontRid

func (self Instance) ShapedGetRunFontRid(shaped RID.TextBuffer, index int) RID.Font

ShapedGetRunFontRid is promoted from TextServer.Instance.ShapedGetRunFontRid.

func (Instance) ShapedGetRunFontSize

func (self Instance) ShapedGetRunFontSize(shaped RID.TextBuffer, index int) int

ShapedGetRunFontSize is promoted from TextServer.Instance.ShapedGetRunFontSize.

func (Instance) ShapedGetRunLanguage

func (self Instance) ShapedGetRunLanguage(shaped RID.TextBuffer, index int) string

ShapedGetRunLanguage is promoted from TextServer.Instance.ShapedGetRunLanguage.

func (Instance) ShapedGetRunObject

func (self Instance) ShapedGetRunObject(shaped RID.TextBuffer, index int) any

ShapedGetRunObject is promoted from TextServer.Instance.ShapedGetRunObject.

func (Instance) ShapedGetRunRange

func (self Instance) ShapedGetRunRange(shaped RID.TextBuffer, index int) Vector2i.XY

ShapedGetRunRange is promoted from TextServer.Instance.ShapedGetRunRange.

func (Instance) ShapedGetRunText

func (self Instance) ShapedGetRunText(shaped RID.TextBuffer, index int) string

ShapedGetRunText is promoted from TextServer.Instance.ShapedGetRunText.

func (Instance) ShapedGetSpanCount

func (self Instance) ShapedGetSpanCount(shaped RID.TextBuffer) int

ShapedGetSpanCount is promoted from TextServer.Instance.ShapedGetSpanCount.

func (Instance) ShapedGetSpanEmbeddedObject

func (self Instance) ShapedGetSpanEmbeddedObject(shaped RID.TextBuffer, index int) any

ShapedGetSpanEmbeddedObject is promoted from TextServer.Instance.ShapedGetSpanEmbeddedObject.

func (Instance) ShapedGetSpanMeta

func (self Instance) ShapedGetSpanMeta(shaped RID.TextBuffer, index int) any

ShapedGetSpanMeta is promoted from TextServer.Instance.ShapedGetSpanMeta.

func (Instance) ShapedGetSpanObject

func (self Instance) ShapedGetSpanObject(shaped RID.TextBuffer, index int) any

ShapedGetSpanObject is promoted from TextServer.Instance.ShapedGetSpanObject.

func (Instance) ShapedGetSpanText

func (self Instance) ShapedGetSpanText(shaped RID.TextBuffer, index int) string

ShapedGetSpanText is promoted from TextServer.Instance.ShapedGetSpanText.

func (Instance) ShapedGetText

func (self Instance) ShapedGetText(shaped RID.TextBuffer) string

ShapedGetText is promoted from TextServer.Instance.ShapedGetText.

func (Instance) ShapedTextClear

func (self Instance) ShapedTextClear(rid RID.TextBuffer)

ShapedTextClear is promoted from TextServer.Instance.ShapedTextClear.

func (Instance) ShapedTextClosestCharacterPos

func (self Instance) ShapedTextClosestCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextClosestCharacterPos is promoted from TextServer.Instance.ShapedTextClosestCharacterPos.

func (Instance) ShapedTextDuplicate

func (self Instance) ShapedTextDuplicate(rid RID.TextBuffer) RID.TextBuffer

ShapedTextDuplicate is promoted from TextServer.Instance.ShapedTextDuplicate.

func (Instance) ShapedTextGetAscent

func (self Instance) ShapedTextGetAscent(shaped RID.TextBuffer) Float.X

ShapedTextGetAscent is promoted from TextServer.Instance.ShapedTextGetAscent.

func (Instance) ShapedTextGetCarets

func (self Instance) ShapedTextGetCarets(shaped RID.TextBuffer, position int) TextServer.Carets

ShapedTextGetCarets is promoted from TextServer.Instance.ShapedTextGetCarets.

func (Instance) ShapedTextGetCharacterBreaks

func (self Instance) ShapedTextGetCharacterBreaks(shaped RID.TextBuffer) []int32

ShapedTextGetCharacterBreaks is promoted from TextServer.Instance.ShapedTextGetCharacterBreaks.

func (Instance) ShapedTextGetCustomEllipsis

func (self Instance) ShapedTextGetCustomEllipsis(shaped RID.TextBuffer) int

ShapedTextGetCustomEllipsis is promoted from TextServer.Instance.ShapedTextGetCustomEllipsis.

func (Instance) ShapedTextGetCustomPunctuation

func (self Instance) ShapedTextGetCustomPunctuation(shaped RID.TextBuffer) string

ShapedTextGetCustomPunctuation is promoted from TextServer.Instance.ShapedTextGetCustomPunctuation.

func (Instance) ShapedTextGetDescent

func (self Instance) ShapedTextGetDescent(shaped RID.TextBuffer) Float.X

ShapedTextGetDescent is promoted from TextServer.Instance.ShapedTextGetDescent.

func (Instance) ShapedTextGetDirection

func (self Instance) ShapedTextGetDirection(shaped RID.TextBuffer) TextServer.Direction

ShapedTextGetDirection is promoted from TextServer.Instance.ShapedTextGetDirection.

func (Instance) ShapedTextGetDominantDirectionInRange

func (self Instance) ShapedTextGetDominantDirectionInRange(shaped RID.TextBuffer, start int, end int) TextServer.Direction

ShapedTextGetDominantDirectionInRange is promoted from TextServer.Instance.ShapedTextGetDominantDirectionInRange.

func (Instance) ShapedTextGetEllipsisGlyphCount

func (self Instance) ShapedTextGetEllipsisGlyphCount(shaped RID.TextBuffer) int

ShapedTextGetEllipsisGlyphCount is promoted from TextServer.Instance.ShapedTextGetEllipsisGlyphCount.

func (Instance) ShapedTextGetEllipsisGlyphs

func (self Instance) ShapedTextGetEllipsisGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextGetEllipsisGlyphs is promoted from TextServer.Instance.ShapedTextGetEllipsisGlyphs.

func (Instance) ShapedTextGetEllipsisPos

func (self Instance) ShapedTextGetEllipsisPos(shaped RID.TextBuffer) int

ShapedTextGetEllipsisPos is promoted from TextServer.Instance.ShapedTextGetEllipsisPos.

func (Instance) ShapedTextGetGlyphCount

func (self Instance) ShapedTextGetGlyphCount(shaped RID.TextBuffer) int

ShapedTextGetGlyphCount is promoted from TextServer.Instance.ShapedTextGetGlyphCount.

func (Instance) ShapedTextGetGlyphs

func (self Instance) ShapedTextGetGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextGetGlyphs is promoted from TextServer.Instance.ShapedTextGetGlyphs.

func (Instance) ShapedTextGetGraphemeBounds

func (self Instance) ShapedTextGetGraphemeBounds(shaped RID.TextBuffer, pos int) Vector2.XY

ShapedTextGetGraphemeBounds is promoted from TextServer.Instance.ShapedTextGetGraphemeBounds.

func (Instance) ShapedTextGetInferredDirection

func (self Instance) ShapedTextGetInferredDirection(shaped RID.TextBuffer) TextServer.Direction

ShapedTextGetInferredDirection is promoted from TextServer.Instance.ShapedTextGetInferredDirection.

func (Instance) ShapedTextGetObjectGlyph

func (self Instance) ShapedTextGetObjectGlyph(shaped RID.TextBuffer, key any) int

ShapedTextGetObjectGlyph is promoted from TextServer.Instance.ShapedTextGetObjectGlyph.

func (Instance) ShapedTextGetObjectRange

func (self Instance) ShapedTextGetObjectRange(shaped RID.TextBuffer, key any) Vector2i.XY

ShapedTextGetObjectRange is promoted from TextServer.Instance.ShapedTextGetObjectRange.

func (Instance) ShapedTextGetObjectRect

func (self Instance) ShapedTextGetObjectRect(shaped RID.TextBuffer, key any) Rect2.PositionSize

ShapedTextGetObjectRect is promoted from TextServer.Instance.ShapedTextGetObjectRect.

func (Instance) ShapedTextGetObjects

func (self Instance) ShapedTextGetObjects(shaped RID.TextBuffer) []any

ShapedTextGetObjects is promoted from TextServer.Instance.ShapedTextGetObjects.

func (Instance) ShapedTextGetOrientation

func (self Instance) ShapedTextGetOrientation(shaped RID.TextBuffer) TextServer.Orientation

ShapedTextGetOrientation is promoted from TextServer.Instance.ShapedTextGetOrientation.

func (Instance) ShapedTextGetParent

func (self Instance) ShapedTextGetParent(shaped RID.TextBuffer) RID.TextBuffer

ShapedTextGetParent is promoted from TextServer.Instance.ShapedTextGetParent.

func (Instance) ShapedTextGetPreserveControl

func (self Instance) ShapedTextGetPreserveControl(shaped RID.TextBuffer) bool

ShapedTextGetPreserveControl is promoted from TextServer.Instance.ShapedTextGetPreserveControl.

func (Instance) ShapedTextGetPreserveInvalid

func (self Instance) ShapedTextGetPreserveInvalid(shaped RID.TextBuffer) bool

ShapedTextGetPreserveInvalid is promoted from TextServer.Instance.ShapedTextGetPreserveInvalid.

func (Instance) ShapedTextGetRange

func (self Instance) ShapedTextGetRange(shaped RID.TextBuffer) Vector2i.XY

ShapedTextGetRange is promoted from TextServer.Instance.ShapedTextGetRange.

func (Instance) ShapedTextGetSelection

func (self Instance) ShapedTextGetSelection(shaped RID.TextBuffer, start int, end int) []Vector2.XY

ShapedTextGetSelection is promoted from TextServer.Instance.ShapedTextGetSelection.

func (Instance) ShapedTextGetSize

func (self Instance) ShapedTextGetSize(shaped RID.TextBuffer) Vector2.XY

ShapedTextGetSize is promoted from TextServer.Instance.ShapedTextGetSize.

func (Instance) ShapedTextGetSpacing

func (self Instance) ShapedTextGetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType) int

ShapedTextGetSpacing is promoted from TextServer.Instance.ShapedTextGetSpacing.

func (Instance) ShapedTextGetTrimPos

func (self Instance) ShapedTextGetTrimPos(shaped RID.TextBuffer) int

ShapedTextGetTrimPos is promoted from TextServer.Instance.ShapedTextGetTrimPos.

func (Instance) ShapedTextGetUnderlinePosition

func (self Instance) ShapedTextGetUnderlinePosition(shaped RID.TextBuffer) Float.X

ShapedTextGetUnderlinePosition is promoted from TextServer.Instance.ShapedTextGetUnderlinePosition.

func (Instance) ShapedTextGetUnderlineThickness

func (self Instance) ShapedTextGetUnderlineThickness(shaped RID.TextBuffer) Float.X

ShapedTextGetUnderlineThickness is promoted from TextServer.Instance.ShapedTextGetUnderlineThickness.

func (Instance) ShapedTextGetWidth

func (self Instance) ShapedTextGetWidth(shaped RID.TextBuffer) Float.X

ShapedTextGetWidth is promoted from TextServer.Instance.ShapedTextGetWidth.

func (Instance) ShapedTextHasObject

func (self Instance) ShapedTextHasObject(shaped RID.TextBuffer, key any) bool

ShapedTextHasObject is promoted from TextServer.Instance.ShapedTextHasObject.

func (Instance) ShapedTextHasVisibleChars

func (self Instance) ShapedTextHasVisibleChars(shaped RID.TextBuffer) bool

ShapedTextHasVisibleChars is promoted from TextServer.Instance.ShapedTextHasVisibleChars.

func (Instance) ShapedTextHitTestGrapheme

func (self Instance) ShapedTextHitTestGrapheme(shaped RID.TextBuffer, coords Float.X) int

ShapedTextHitTestGrapheme is promoted from TextServer.Instance.ShapedTextHitTestGrapheme.

func (Instance) ShapedTextHitTestPosition

func (self Instance) ShapedTextHitTestPosition(shaped RID.TextBuffer, coords Float.X) int

ShapedTextHitTestPosition is promoted from TextServer.Instance.ShapedTextHitTestPosition.

func (Instance) ShapedTextIsReady

func (self Instance) ShapedTextIsReady(shaped RID.TextBuffer) bool

ShapedTextIsReady is promoted from TextServer.Instance.ShapedTextIsReady.

func (Instance) ShapedTextNextCharacterPos

func (self Instance) ShapedTextNextCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextNextCharacterPos is promoted from TextServer.Instance.ShapedTextNextCharacterPos.

func (Instance) ShapedTextNextGraphemePos

func (self Instance) ShapedTextNextGraphemePos(shaped RID.TextBuffer, pos int) int

ShapedTextNextGraphemePos is promoted from TextServer.Instance.ShapedTextNextGraphemePos.

func (Instance) ShapedTextPrevCharacterPos

func (self Instance) ShapedTextPrevCharacterPos(shaped RID.TextBuffer, pos int) int

ShapedTextPrevCharacterPos is promoted from TextServer.Instance.ShapedTextPrevCharacterPos.

func (Instance) ShapedTextPrevGraphemePos

func (self Instance) ShapedTextPrevGraphemePos(shaped RID.TextBuffer, pos int) int

ShapedTextPrevGraphemePos is promoted from TextServer.Instance.ShapedTextPrevGraphemePos.

func (Instance) ShapedTextSetBidiOverride

func (self Instance) ShapedTextSetBidiOverride(shaped RID.TextBuffer, override []any)

ShapedTextSetBidiOverride is promoted from TextServer.Instance.ShapedTextSetBidiOverride.

func (Instance) ShapedTextSetCustomEllipsis

func (self Instance) ShapedTextSetCustomEllipsis(shaped RID.TextBuffer, char int)

ShapedTextSetCustomEllipsis is promoted from TextServer.Instance.ShapedTextSetCustomEllipsis.

func (Instance) ShapedTextSetCustomPunctuation

func (self Instance) ShapedTextSetCustomPunctuation(shaped RID.TextBuffer, punct string)

ShapedTextSetCustomPunctuation is promoted from TextServer.Instance.ShapedTextSetCustomPunctuation.

func (Instance) ShapedTextSetPreserveControl

func (self Instance) ShapedTextSetPreserveControl(shaped RID.TextBuffer, enabled bool)

ShapedTextSetPreserveControl is promoted from TextServer.Instance.ShapedTextSetPreserveControl.

func (Instance) ShapedTextSetPreserveInvalid

func (self Instance) ShapedTextSetPreserveInvalid(shaped RID.TextBuffer, enabled bool)

ShapedTextSetPreserveInvalid is promoted from TextServer.Instance.ShapedTextSetPreserveInvalid.

func (Instance) ShapedTextSetSpacing

func (self Instance) ShapedTextSetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType, value int)

ShapedTextSetSpacing is promoted from TextServer.Instance.ShapedTextSetSpacing.

func (Instance) ShapedTextShape

func (self Instance) ShapedTextShape(shaped RID.TextBuffer) bool

ShapedTextShape is promoted from TextServer.Instance.ShapedTextShape.

func (Instance) ShapedTextSortLogical

func (self Instance) ShapedTextSortLogical(shaped RID.TextBuffer) [][]TextServer.Glyph

ShapedTextSortLogical is promoted from TextServer.Instance.ShapedTextSortLogical.

func (Instance) ShapedTextSubstr

func (self Instance) ShapedTextSubstr(shaped RID.TextBuffer, start int, length int) RID.TextBuffer

ShapedTextSubstr is promoted from TextServer.Instance.ShapedTextSubstr.

func (Instance) ShapedTextTabAlign

func (self Instance) ShapedTextTabAlign(shaped RID.TextBuffer, tab_stops []float32) Float.X

ShapedTextTabAlign is promoted from TextServer.Instance.ShapedTextTabAlign.

func (Instance) SpoofCheck

func (self Instance) SpoofCheck(s string) bool

SpoofCheck is promoted from TextServer.Instance.SpoofCheck.

func (Instance) StripDiacritics

func (self Instance) StripDiacritics(s string) string

StripDiacritics is promoted from TextServer.Instance.StripDiacritics.

func (Instance) TagToName

func (self Instance) TagToName(tag int) string

TagToName is promoted from TextServer.Instance.TagToName.

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

type OpenTypeFeature

type OpenTypeFeature struct {
	Label  string       `gd:"label"`
	Type   reflect.Type `gd:"type"`
	Hidden bool         `gd:"hidden"`
}

type Singleton

type Singleton[T gdclass.Interface] = Extension[T]

Singleton can be embedded in a new struct to create a Go singleton extension of the class.

It will become available as a global inside scripts and any any other Go Extension types will have any *T typed fields filled in to point at this singleton once they have been instantiated.

T must be a type that is embedding this Singleton as the first field. It is unsafe and invalid to use this type directly, or embedded in any other way.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL