TextServerExtension

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: 36 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
	AsTextServerExtension() Instance
}

type CaretInfo

type CaretInfo = gd.CaretInfo

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. See Interface for methods that can be overridden by T.

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]) AsTextServerExtension

func (o *Extension[T]) AsTextServerExtension() 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 Implementation

type Implementation = implementation

Implementation implements Interface with empty methods.

type Instance

type Instance [1]gdclass.TextServerExtension

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) AsTextServerExtension

func (o Instance) AsTextServerExtension() Instance

func (Instance) ID

func (self Instance) ID() ID

func (*Instance) SetObject

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

func (Instance) ShapedTextHasVisibleChars

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

ShapedTextHasVisibleChars is promoted from TextServer.Instance.ShapedTextHasVisibleChars.

func (Instance) Virtual

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

type Interface

type Interface interface {
	HasFeature(feature TextServer.Feature) bool
	GetName() string
	GetFeatures() int
	FreeRid(rid RID.Any)
	Has(rid RID.Any) bool
	LoadSupportData(filename string) bool
	GetSupportDataFilename() string
	GetSupportDataInfo() string
	SaveSupportData(filename string) bool
	GetSupportData() []byte
	IsLocaleUsingSupportData(locale string) bool
	IsLocaleRightToLeft(locale string) bool
	NameToTag(name string) int
	TagToName(tag int) string
	CreateFont() RID.Font
	CreateFontLinkedVariation(font_rid RID.Font) RID.Font
	FontSetData(font_rid RID.Font, data []byte)
	FontSetDataPtr(font_rid RID.Font, data_ptr Packed.Bytes)
	FontSetFaceIndex(font_rid RID.Font, face_index int)
	FontGetFaceIndex(font_rid RID.Font) int
	FontGetFaceCount(font_rid RID.Font) int
	FontSetStyle(font_rid RID.Font, style TextServer.FontStyle)
	FontGetStyle(font_rid RID.Font) TextServer.FontStyle
	FontSetName(font_rid RID.Font, name string)
	FontGetName(font_rid RID.Font) string
	FontGetOtNameStrings(font_rid RID.Font) map[string]map[string]string
	FontSetStyleName(font_rid RID.Font, name_style string)
	FontGetStyleName(font_rid RID.Font) string
	FontSetWeight(font_rid RID.Font, weight int)
	FontGetWeight(font_rid RID.Font) int
	FontSetStretch(font_rid RID.Font, stretch int)
	FontGetStretch(font_rid RID.Font) int
	FontSetAntialiasing(font_rid RID.Font, antialiasing TextServer.FontAntialiasing)
	FontGetAntialiasing(font_rid RID.Font) TextServer.FontAntialiasing
	FontSetDisableEmbeddedBitmaps(font_rid RID.Font, disable_embedded_bitmaps bool)
	FontGetDisableEmbeddedBitmaps(font_rid RID.Font) bool
	FontSetGenerateMipmaps(font_rid RID.Font, generate_mipmaps bool)
	FontGetGenerateMipmaps(font_rid RID.Font) bool
	FontSetMultichannelSignedDistanceField(font_rid RID.Font, msdf bool)
	FontIsMultichannelSignedDistanceField(font_rid RID.Font) bool
	FontSetMsdfPixelRange(font_rid RID.Font, msdf_pixel_range int)
	FontGetMsdfPixelRange(font_rid RID.Font) int
	FontSetMsdfSize(font_rid RID.Font, msdf_size int)
	FontGetMsdfSize(font_rid RID.Font) int
	FontSetFixedSize(font_rid RID.Font, fixed_size int)
	FontGetFixedSize(font_rid RID.Font) int
	FontSetFixedSizeScaleMode(font_rid RID.Font, fixed_size_scale_mode TextServer.FixedSizeScaleMode)
	FontGetFixedSizeScaleMode(font_rid RID.Font) TextServer.FixedSizeScaleMode
	FontSetAllowSystemFallback(font_rid RID.Font, allow_system_fallback bool)
	FontIsAllowSystemFallback(font_rid RID.Font) bool
	FontClearSystemFallbackCache()
	FontSetForceAutohinter(font_rid RID.Font, force_autohinter bool)
	FontIsForceAutohinter(font_rid RID.Font) bool
	FontSetModulateColorGlyphs(font_rid RID.Font, modulate bool)
	FontIsModulateColorGlyphs(font_rid RID.Font) bool
	FontSetHinting(font_rid RID.Font, hinting TextServer.Hinting)
	FontGetHinting(font_rid RID.Font) TextServer.Hinting
	FontSetSubpixelPositioning(font_rid RID.Font, subpixel_positioning TextServer.SubpixelPositioning)
	FontGetSubpixelPositioning(font_rid RID.Font) TextServer.SubpixelPositioning
	FontSetKeepRoundingRemainders(font_rid RID.Font, keep_rounding_remainders bool)
	FontGetKeepRoundingRemainders(font_rid RID.Font) bool
	FontSetEmbolden(font_rid RID.Font, strength Float.X)
	FontGetEmbolden(font_rid RID.Font) Float.X
	FontSetSpacing(font_rid RID.Font, spacing TextServer.SpacingType, value int)
	FontGetSpacing(font_rid RID.Font, spacing TextServer.SpacingType) int
	FontSetBaselineOffset(font_rid RID.Font, baseline_offset Float.X)
	FontGetBaselineOffset(font_rid RID.Font) Float.X
	FontSetTransform(font_rid RID.Font, transform Transform2D.OriginXY)
	FontGetTransform(font_rid RID.Font) Transform2D.OriginXY
	FontSetVariationCoordinates(font_rid RID.Font, variation_coordinates map[string]float32)
	FontGetVariationCoordinates(font_rid RID.Font) map[string]float32
	FontSetOversampling(font_rid RID.Font, oversampling Float.X)
	FontGetOversampling(font_rid RID.Font) Float.X
	FontGetSizeCacheList(font_rid RID.Font) []Vector2i.XY
	FontClearSizeCache(font_rid RID.Font)
	FontRemoveSizeCache(font_rid RID.Font, size Vector2i.XY)
	FontGetSizeCacheInfo(font_rid RID.Font) []FontSizeCacheInfo
	FontSetAscent(font_rid RID.Font, size int, ascent Float.X)
	FontGetAscent(font_rid RID.Font, size int) Float.X
	FontSetDescent(font_rid RID.Font, size int, descent Float.X)
	FontGetDescent(font_rid RID.Font, size int) Float.X
	FontSetUnderlinePosition(font_rid RID.Font, size int, underline_position Float.X)
	FontGetUnderlinePosition(font_rid RID.Font, size int) Float.X
	FontSetUnderlineThickness(font_rid RID.Font, size int, underline_thickness Float.X)
	FontGetUnderlineThickness(font_rid RID.Font, size int) Float.X
	FontSetScale(font_rid RID.Font, size int, scale Float.X)
	FontGetScale(font_rid RID.Font, size int) Float.X
	FontGetTextureCount(font_rid RID.Font, size Vector2i.XY) int
	FontClearTextures(font_rid RID.Font, size Vector2i.XY)
	FontRemoveTexture(font_rid RID.Font, size Vector2i.XY, texture_index int)
	FontSetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int, image Image.Instance)
	FontGetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int) Image.Instance
	FontSetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int, offset []int32)
	FontGetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int) []int32
	FontGetGlyphList(font_rid RID.Font, size Vector2i.XY) []int32
	FontClearGlyphs(font_rid RID.Font, size Vector2i.XY)
	FontRemoveGlyph(font_rid RID.Font, size Vector2i.XY, glyph int)
	FontGetGlyphAdvance(font_rid RID.Font, size int, glyph int) Vector2.XY
	FontSetGlyphAdvance(font_rid RID.Font, size int, glyph int, advance Vector2.XY)
	FontGetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
	FontSetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int, offset Vector2.XY)
	FontGetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
	FontSetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int, gl_size Vector2.XY)
	FontGetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int) Rect2.PositionSize
	FontSetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int, uv_rect Rect2.PositionSize)
	FontGetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int) int
	FontSetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int, texture_idx int)
	FontGetGlyphTextureRid(font_rid RID.Font, size Vector2i.XY, glyph int) RID.Texture
	FontGetGlyphTextureSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
	FontGetGlyphContours(font_rid RID.Font, size int, index int) GlyphContours
	FontGetKerningList(font_rid RID.Font, size int) []Vector2i.XY
	FontClearKerningMap(font_rid RID.Font, size int)
	FontRemoveKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY)
	FontSetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY, kerning Vector2.XY)
	FontGetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY) Vector2.XY
	FontGetGlyphIndex(font_rid RID.Font, size int, char int, variation_selector int) int
	FontGetCharFromGlyphIndex(font_rid RID.Font, size int, glyph_index int) int
	FontHasChar(font_rid RID.Font, char int) bool
	FontGetSupportedChars(font_rid RID.Font) string
	FontGetSupportedGlyphs(font_rid RID.Font) []int32
	FontRenderRange(font_rid RID.Font, size Vector2i.XY, start int, end int)
	FontRenderGlyph(font_rid RID.Font, size Vector2i.XY, index int)
	FontDrawGlyph(font_rid RID.Font, canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA, oversampling Float.X)
	FontDrawGlyphOutline(font_rid RID.Font, canvas RID.Canvas, size int, outline_size int, pos Vector2.XY, index int, color Color.RGBA, oversampling Float.X)
	FontIsLanguageSupported(font_rid RID.Font, language string) bool
	FontSetLanguageSupportOverride(font_rid RID.Font, language string, supported bool)
	FontGetLanguageSupportOverride(font_rid RID.Font, language string) bool
	FontRemoveLanguageSupportOverride(font_rid RID.Font, language string)
	FontGetLanguageSupportOverrides(font_rid RID.Font) []string
	FontIsScriptSupported(font_rid RID.Font, script string) bool
	FontSetScriptSupportOverride(font_rid RID.Font, script string, supported bool)
	FontGetScriptSupportOverride(font_rid RID.Font, script string) bool
	FontRemoveScriptSupportOverride(font_rid RID.Font, script string)
	FontGetScriptSupportOverrides(font_rid RID.Font) []string
	FontSetOpentypeFeatureOverrides(font_rid RID.Font, overrides map[string][2]string)
	FontGetOpentypeFeatureOverrides(font_rid RID.Font) map[string][2]string
	FontSupportedFeatureList(font_rid RID.Font) map[string]OpenTypeFeature
	FontSupportedVariationList(font_rid RID.Font) map[int]struct {
		X int32
		Y int32
		Z int32
	}
	FontGetGlobalOversampling() Float.X
	FontSetGlobalOversampling(oversampling Float.X)
	ReferenceOversamplingLevel(oversampling Float.X)
	UnreferenceOversamplingLevel(oversampling Float.X)
	GetHexCodeBoxSize(size int, index int) Vector2.XY
	DrawHexCodeBox(canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA)
	CreateShapedText(direction TextServer.Direction, orientation TextServer.Orientation) RID.TextBuffer
	ShapedTextClear(shaped RID.TextBuffer)
	ShapedTextDuplicate(shaped RID.TextBuffer) RID.TextBuffer
	ShapedTextSetDirection(shaped RID.TextBuffer, direction TextServer.Direction)
	ShapedTextGetDirection(shaped RID.TextBuffer) TextServer.Direction
	ShapedTextGetInferredDirection(shaped RID.TextBuffer) TextServer.Direction
	ShapedTextSetBidiOverride(shaped RID.TextBuffer, override []any)
	ShapedTextSetCustomPunctuation(shaped RID.TextBuffer, punct string)
	ShapedTextGetCustomPunctuation(shaped RID.TextBuffer) string
	ShapedTextSetCustomEllipsis(shaped RID.TextBuffer, char int)
	ShapedTextGetCustomEllipsis(shaped RID.TextBuffer) int
	ShapedTextSetOrientation(shaped RID.TextBuffer, orientation TextServer.Orientation)
	ShapedTextGetOrientation(shaped RID.TextBuffer) TextServer.Orientation
	ShapedTextSetPreserveInvalid(shaped RID.TextBuffer, enabled bool)
	ShapedTextGetPreserveInvalid(shaped RID.TextBuffer) bool
	ShapedTextSetPreserveControl(shaped RID.TextBuffer, enabled bool)
	ShapedTextGetPreserveControl(shaped RID.TextBuffer) bool
	ShapedTextSetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType, value int)
	ShapedTextGetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType) int
	ShapedTextAddString(shaped RID.TextBuffer, text string, fonts []RID.TextBuffer, size int, opentype_features map[string]uint32, language string, meta any) bool
	ShapedTextAddObject(shaped RID.TextBuffer, key any, size Vector2.XY, inline_align GUI.InlineAlignment, length int, baseline Float.X) bool
	ShapedTextResizeObject(shaped RID.TextBuffer, key any, size Vector2.XY, inline_align GUI.InlineAlignment, baseline Float.X) bool
	ShapedTextHasObject(shaped RID.TextBuffer, key any) bool
	ShapedGetText(shaped RID.TextBuffer) string
	ShapedGetSpanCount(shaped RID.TextBuffer) int
	ShapedGetSpanMeta(shaped RID.TextBuffer, index int) any
	ShapedGetSpanEmbeddedObject(shaped RID.TextBuffer, index int) any
	ShapedGetSpanText(shaped RID.TextBuffer, index int) string
	ShapedGetSpanObject(shaped RID.TextBuffer, index int) any
	ShapedSetSpanUpdateFont(shaped RID.TextBuffer, index int, fonts []RID.Font, size int, opentype_features map[string]uint32)
	ShapedGetRunCount(shaped RID.TextBuffer) int
	ShapedGetRunText(shaped RID.TextBuffer, index int) string
	ShapedGetRunRange(shaped RID.TextBuffer, index int) Vector2i.XY
	ShapedGetRunFontRid(shaped RID.TextBuffer, index int) RID.Font
	ShapedGetRunFontSize(shaped RID.TextBuffer, index int) int
	ShapedGetRunLanguage(shaped RID.TextBuffer, index int) string
	ShapedGetRunDirection(shaped RID.TextBuffer, index int) TextServer.Direction
	ShapedGetRunObject(shaped RID.TextBuffer, index int) any
	ShapedTextSubstr(shaped RID.TextBuffer, start int, length int) RID.TextBuffer
	ShapedTextGetParent(shaped RID.TextBuffer) RID.TextBuffer
	ShapedTextFitToWidth(shaped RID.TextBuffer, width Float.X, justification_flags TextServer.JustificationFlag) Float.X
	ShapedTextTabAlign(shaped RID.TextBuffer, tab_stops []float32) Float.X
	ShapedTextShape(shaped RID.TextBuffer) bool
	ShapedTextUpdateBreaks(shaped RID.TextBuffer) bool
	ShapedTextUpdateJustificationOps(shaped RID.TextBuffer) bool
	ShapedTextIsReady(shaped RID.TextBuffer) bool
	ShapedTextGetGlyphs(shaped RID.TextBuffer) Engine.Pointer[Glyph]
	ShapedTextSortLogical(shaped RID.TextBuffer) Engine.Pointer[Glyph]
	ShapedTextGetGlyphCount(shaped RID.TextBuffer) int
	ShapedTextGetRange(shaped RID.TextBuffer) Vector2i.XY
	ShapedTextGetLineBreaksAdv(shaped RID.TextBuffer, width []float32, start int, once bool, break_flags TextServer.LineBreakFlag) []int32
	ShapedTextGetLineBreaks(shaped RID.TextBuffer, width Float.X, start int, break_flags TextServer.LineBreakFlag) []int32
	ShapedTextGetWordBreaks(shaped RID.TextBuffer, grapheme_flags TextServer.GraphemeFlag, skip_grapheme_flags TextServer.GraphemeFlag) []int32
	ShapedTextGetTrimPos(shaped RID.TextBuffer) int
	ShapedTextGetEllipsisPos(shaped RID.TextBuffer) int
	ShapedTextGetEllipsisGlyphCount(shaped RID.TextBuffer) int
	ShapedTextGetEllipsisGlyphs(shaped RID.TextBuffer) Engine.Pointer[Glyph]
	ShapedTextOverrunTrimToWidth(shaped RID.TextBuffer, width Float.X, trim_flags TextServer.TextOverrunFlag)
	ShapedTextGetObjects(shaped RID.TextBuffer) []any
	ShapedTextGetObjectRect(shaped RID.TextBuffer, key any) Rect2.PositionSize
	ShapedTextGetObjectRange(shaped RID.TextBuffer, key any) Vector2i.XY
	ShapedTextGetObjectGlyph(shaped RID.TextBuffer, key any) int
	ShapedTextGetSize(shaped RID.TextBuffer) Vector2.XY
	ShapedTextGetAscent(shaped RID.TextBuffer) Float.X
	ShapedTextGetDescent(shaped RID.TextBuffer) Float.X
	ShapedTextGetWidth(shaped RID.TextBuffer) Float.X
	ShapedTextGetUnderlinePosition(shaped RID.TextBuffer) Float.X
	ShapedTextGetUnderlineThickness(shaped RID.TextBuffer) Float.X
	ShapedTextGetDominantDirectionInRange(shaped RID.TextBuffer, start int, end int) int
	ShapedTextGetCarets(shaped RID.TextBuffer, position int, caret Engine.Pointer[CaretInfo])
	ShapedTextGetSelection(shaped RID.TextBuffer, start int, end int) []Vector2.XY
	ShapedTextHitTestGrapheme(shaped RID.TextBuffer, coord Float.X) int
	ShapedTextHitTestPosition(shaped RID.TextBuffer, coord Float.X) int
	ShapedTextDraw(shaped RID.TextBuffer, canvas RID.Canvas, pos Vector2.XY, clip_l Float.X, clip_r Float.X, color Color.RGBA, oversampling Float.X)
	ShapedTextDrawOutline(shaped RID.TextBuffer, canvas RID.Canvas, pos Vector2.XY, clip_l Float.X, clip_r Float.X, outline_size int, color Color.RGBA, oversampling Float.X)
	ShapedTextGetGraphemeBounds(shaped RID.TextBuffer, pos int) Vector2.XY
	ShapedTextNextGraphemePos(shaped RID.TextBuffer, pos int) int
	ShapedTextPrevGraphemePos(shaped RID.TextBuffer, pos int) int
	ShapedTextGetCharacterBreaks(shaped RID.TextBuffer) []int32
	ShapedTextNextCharacterPos(shaped RID.TextBuffer, pos int) int
	ShapedTextPrevCharacterPos(shaped RID.TextBuffer, pos int) int
	ShapedTextClosestCharacterPos(shaped RID.TextBuffer, pos int) int
	FormatNumber(number string, language string) string
	ParseNumber(number string, language string) string
	PercentSign(language string) string
	StripDiacritics(s string) string
	IsValidIdentifier(s string) bool
	IsValidLetter(unicode int) bool
	StringGetWordBreaks(s string, language string, chars_per_line int) []int32
	StringGetCharacterBreaks(s string, language string) []int32
	IsConfusable(s string, dict []string) int
	SpoofCheck(s string) bool
	StringToUpper(s string, language string) string
	StringToLower(s string, language string) string
	StringToTitle(s string, language string) string
	ParseStructuredText(parser_type TextServer.StructuredTextParser, args []any, text string) []Vector3i.XYZ
	Cleanup()
}

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. See Interface for methods that can be overridden by T.

Jump to

Keyboard shortcuts

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