Documentation
¶
Index ¶
- type Advanced
- type Any
- type Carets
- type Direction
- type Extension
- func (o *Extension[T]) AsObject() [1]gdreference.Object
- func (o *Extension[T]) AsRefCounted() ie.RC
- func (o *Extension[T]) AsTextServer() TextServer.Instance
- func (o *Extension[T]) AsTextServerAdvanced() Instance
- func (o *Extension[T]) AsTextServerExtension() TextServerExtension.Instance
- func (o *Extension[T]) CreateFont() RID.Font
- func (o *Extension[T]) CreateFontLinkedVariation(font_rid RID.Font) RID.Font
- func (o *Extension[T]) DrawHexCodeBox(canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA)
- func (o *Extension[T]) FontClearGlyphs(font_rid RID.Font, size Vector2i.XY)
- func (o *Extension[T]) FontClearKerningMap(font_rid RID.Font, size int)
- func (o *Extension[T]) FontClearSizeCache(font_rid RID.Font)
- func (o *Extension[T]) FontClearSystemFallbackCache()
- func (o *Extension[T]) FontClearTextures(font_rid RID.Font, size Vector2i.XY)
- func (o *Extension[T]) FontGetAntialiasing(font_rid RID.Font) TextServer.FontAntialiasing
- func (o *Extension[T]) FontGetAscent(font_rid RID.Font, size int) Float.X
- func (o *Extension[T]) FontGetBaselineOffset(font_rid RID.Font) Float.X
- func (o *Extension[T]) FontGetCharFromGlyphIndex(font_rid RID.Font, size int, glyph_index int) int
- func (o *Extension[T]) FontGetDescent(font_rid RID.Font, size int) Float.X
- func (o *Extension[T]) FontGetDisableEmbeddedBitmaps(font_rid RID.Font) bool
- func (o *Extension[T]) FontGetEmbolden(font_rid RID.Font) Float.X
- func (o *Extension[T]) FontGetFaceCount(font_rid RID.Font) int
- func (o *Extension[T]) FontGetFaceIndex(font_rid RID.Font) int
- func (o *Extension[T]) FontGetFixedSize(font_rid RID.Font) int
- func (o *Extension[T]) FontGetFixedSizeScaleMode(font_rid RID.Font) TextServer.FixedSizeScaleMode
- func (o *Extension[T]) FontGetGenerateMipmaps(font_rid RID.Font) bool
- func (o *Extension[T]) FontGetGlobalOversampling() Float.X
- func (o *Extension[T]) FontGetGlyphAdvance(font_rid RID.Font, size int, glyph int) Vector2.XY
- func (o *Extension[T]) FontGetGlyphContours(font RID.Font, size int, index int) TextServer.GlyphContours
- func (o *Extension[T]) FontGetGlyphIndex(font_rid RID.Font, size int, char int, variation_selector int) int
- func (o *Extension[T]) FontGetGlyphList(font_rid RID.Font, size Vector2i.XY) []int32
- func (o *Extension[T]) FontGetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (o *Extension[T]) FontGetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (o *Extension[T]) FontGetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int) int
- func (o *Extension[T]) FontGetGlyphTextureRid(font_rid RID.Font, size Vector2i.XY, glyph int) RID.Texture
- func (o *Extension[T]) FontGetGlyphTextureSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (o *Extension[T]) FontGetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int) Rect2.PositionSize
- func (o *Extension[T]) FontGetHinting(font_rid RID.Font) TextServer.Hinting
- func (o *Extension[T]) FontGetKeepRoundingRemainders(font_rid RID.Font) bool
- func (o *Extension[T]) FontGetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY) Vector2.XY
- func (o *Extension[T]) FontGetKerningList(font_rid RID.Font, size int) []Vector2i.XY
- func (o *Extension[T]) FontGetLanguageSupportOverride(font_rid RID.Font, language string) bool
- func (o *Extension[T]) FontGetLanguageSupportOverrides(font_rid RID.Font) []string
- func (o *Extension[T]) FontGetMsdfPixelRange(font_rid RID.Font) int
- func (o *Extension[T]) FontGetMsdfSize(font_rid RID.Font) int
- func (o *Extension[T]) FontGetName(font_rid RID.Font) string
- func (o *Extension[T]) FontGetOpentypeFeatureOverrides(font_rid RID.Font) map[string][2]string
- func (o *Extension[T]) FontGetOtNameStrings(font_rid RID.Font) map[string]map[string]string
- func (o *Extension[T]) FontGetOversampling(font_rid RID.Font) Float.X
- func (o *Extension[T]) FontGetScale(font_rid RID.Font, size int) Float.X
- func (o *Extension[T]) FontGetScriptSupportOverride(font_rid RID.Font, script string) bool
- func (o *Extension[T]) FontGetScriptSupportOverrides(font_rid RID.Font) []string
- func (o *Extension[T]) FontGetSizeCacheInfo(font_rid RID.Font) []TextServer.FontSizeCacheInfo
- func (o *Extension[T]) FontGetSizeCacheList(font_rid RID.Font) []Vector2i.XY
- func (o *Extension[T]) FontGetSpacing(font_rid RID.Font, spacing TextServer.SpacingType) int
- func (o *Extension[T]) FontGetStretch(font_rid RID.Font) int
- func (o *Extension[T]) FontGetStyle(font_rid RID.Font) TextServer.FontStyle
- func (o *Extension[T]) FontGetStyleName(font_rid RID.Font) string
- func (o *Extension[T]) FontGetSubpixelPositioning(font_rid RID.Font) TextServer.SubpixelPositioning
- func (o *Extension[T]) FontGetSupportedChars(font_rid RID.Font) string
- func (o *Extension[T]) FontGetSupportedGlyphs(font_rid RID.Font) []int32
- func (o *Extension[T]) FontGetTextureCount(font_rid RID.Font, size Vector2i.XY) int
- func (o *Extension[T]) FontGetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int) Image.Instance
- func (o *Extension[T]) FontGetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int) []int32
- func (o *Extension[T]) FontGetTransform(font_rid RID.Font) Transform2D.OriginXY
- func (o *Extension[T]) FontGetUnderlinePosition(font_rid RID.Font, size int) Float.X
- func (o *Extension[T]) FontGetUnderlineThickness(font_rid RID.Font, size int) Float.X
- func (o *Extension[T]) FontGetVariationCoordinates(font_rid RID.Font) map[string]float32
- func (o *Extension[T]) FontGetWeight(font_rid RID.Font) int
- func (o *Extension[T]) FontHasChar(font_rid RID.Font, char int) bool
- func (o *Extension[T]) FontIsAllowSystemFallback(font_rid RID.Font) bool
- func (o *Extension[T]) FontIsForceAutohinter(font_rid RID.Font) bool
- func (o *Extension[T]) FontIsLanguageSupported(font_rid RID.Font, language string) bool
- func (o *Extension[T]) FontIsModulateColorGlyphs(font_rid RID.Font) bool
- func (o *Extension[T]) FontIsMultichannelSignedDistanceField(font_rid RID.Font) bool
- func (o *Extension[T]) FontIsScriptSupported(font_rid RID.Font, script string) bool
- func (o *Extension[T]) FontRemoveGlyph(font_rid RID.Font, size Vector2i.XY, glyph int)
- func (o *Extension[T]) FontRemoveKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY)
- func (o *Extension[T]) FontRemoveLanguageSupportOverride(font_rid RID.Font, language string)
- func (o *Extension[T]) FontRemoveScriptSupportOverride(font_rid RID.Font, script string)
- func (o *Extension[T]) FontRemoveSizeCache(font_rid RID.Font, size Vector2i.XY)
- func (o *Extension[T]) FontRemoveTexture(font_rid RID.Font, size Vector2i.XY, texture_index int)
- func (o *Extension[T]) FontRenderGlyph(font_rid RID.Font, size Vector2i.XY, index int)
- func (o *Extension[T]) FontRenderRange(font_rid RID.Font, size Vector2i.XY, start int, end int)
- func (o *Extension[T]) FontSetAllowSystemFallback(font_rid RID.Font, allow_system_fallback bool)
- func (o *Extension[T]) FontSetAntialiasing(font_rid RID.Font, antialiasing TextServer.FontAntialiasing)
- func (o *Extension[T]) FontSetAscent(font_rid RID.Font, size int, ascent Float.X)
- func (o *Extension[T]) FontSetBaselineOffset(font_rid RID.Font, baseline_offset Float.X)
- func (o *Extension[T]) FontSetData(font_rid RID.Font, data []byte)
- func (o *Extension[T]) FontSetDescent(font_rid RID.Font, size int, descent Float.X)
- func (o *Extension[T]) FontSetDisableEmbeddedBitmaps(font_rid RID.Font, disable_embedded_bitmaps bool)
- func (o *Extension[T]) FontSetEmbolden(font_rid RID.Font, strength Float.X)
- func (o *Extension[T]) FontSetFaceIndex(font_rid RID.Font, face_index int)
- func (o *Extension[T]) FontSetFixedSize(font_rid RID.Font, fixed_size int)
- func (o *Extension[T]) FontSetFixedSizeScaleMode(font_rid RID.Font, fixed_size_scale_mode TextServer.FixedSizeScaleMode)
- func (o *Extension[T]) FontSetForceAutohinter(font_rid RID.Font, force_autohinter bool)
- func (o *Extension[T]) FontSetGenerateMipmaps(font_rid RID.Font, generate_mipmaps bool)
- func (o *Extension[T]) FontSetGlobalOversampling(oversampling Float.X)
- func (o *Extension[T]) FontSetGlyphAdvance(font_rid RID.Font, size int, glyph int, advance Vector2.XY)
- func (o *Extension[T]) FontSetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int, offset Vector2.XY)
- func (o *Extension[T]) FontSetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int, gl_size Vector2.XY)
- func (o *Extension[T]) FontSetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int, texture_idx int)
- func (o *Extension[T]) FontSetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int, uv_rect Rect2.PositionSize)
- func (o *Extension[T]) FontSetHinting(font_rid RID.Font, hinting TextServer.Hinting)
- func (o *Extension[T]) FontSetKeepRoundingRemainders(font_rid RID.Font, keep_rounding_remainders bool)
- func (o *Extension[T]) FontSetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY, kerning Vector2.XY)
- func (o *Extension[T]) FontSetLanguageSupportOverride(font_rid RID.Font, language string, supported bool)
- func (o *Extension[T]) FontSetModulateColorGlyphs(font_rid RID.Font, force_autohinter bool)
- func (o *Extension[T]) FontSetMsdfPixelRange(font_rid RID.Font, msdf_pixel_range int)
- func (o *Extension[T]) FontSetMsdfSize(font_rid RID.Font, msdf_size int)
- func (o *Extension[T]) FontSetMultichannelSignedDistanceField(font_rid RID.Font, msdf bool)
- func (o *Extension[T]) FontSetName(font_rid RID.Font, name string)
- func (o *Extension[T]) FontSetOpentypeFeatureOverrides(font_rid RID.Font, overrides map[string][2]string)
- func (o *Extension[T]) FontSetOversampling(font_rid RID.Font, oversampling Float.X)
- func (o *Extension[T]) FontSetScale(font_rid RID.Font, size int, scale Float.X)
- func (o *Extension[T]) FontSetScriptSupportOverride(font_rid RID.Font, script string, supported bool)
- func (o *Extension[T]) FontSetSpacing(font_rid RID.Font, spacing TextServer.SpacingType, value int)
- func (o *Extension[T]) FontSetStretch(font_rid RID.Font, weight int)
- func (o *Extension[T]) FontSetStyle(font_rid RID.Font, style TextServer.FontStyle)
- func (o *Extension[T]) FontSetStyleName(font_rid RID.Font, name string)
- func (o *Extension[T]) FontSetSubpixelPositioning(font_rid RID.Font, subpixel_positioning TextServer.SubpixelPositioning)
- func (o *Extension[T]) FontSetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int, image Image.Instance)
- func (o *Extension[T]) FontSetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int, offset []int32)
- func (o *Extension[T]) FontSetTransform(font_rid RID.Font, transform Transform2D.OriginXY)
- func (o *Extension[T]) FontSetUnderlinePosition(font_rid RID.Font, size int, underline_position Float.X)
- func (o *Extension[T]) FontSetUnderlineThickness(font_rid RID.Font, size int, underline_thickness Float.X)
- func (o *Extension[T]) FontSetVariationCoordinates(font_rid RID.Font, variation_coordinates map[string]float32)
- func (o *Extension[T]) FontSetWeight(font_rid RID.Font, weight int)
- func (o *Extension[T]) FontSupportedFeatureList(font_rid RID.Font) map[string]TextServer.OpenTypeFeature
- func (o *Extension[T]) FontSupportedVariationList(font_rid RID.Font) map[int]struct{ ... }
- func (o *Extension[T]) FreeRid(rid RID.Any)
- func (o *Extension[T]) GetFeatures() int
- func (o *Extension[T]) GetHexCodeBoxSize(size int, index int) Vector2.XY
- func (o *Extension[T]) GetName() string
- func (o *Extension[T]) GetSupportData() []byte
- func (o *Extension[T]) GetSupportDataFilename() string
- func (o *Extension[T]) GetSupportDataInfo() string
- func (o *Extension[T]) Has(rid RID.Any) bool
- func (o *Extension[T]) HasFeature(feature TextServer.Feature) bool
- func (o *Extension[T]) IsConfusable(s string, dict []string) int
- func (o *Extension[T]) IsLocaleRightToLeft(locale string) bool
- func (o *Extension[T]) IsLocaleUsingSupportData(locale string) bool
- func (o *Extension[T]) IsValidIdentifier(s string) bool
- func (o *Extension[T]) IsValidLetter(unicode int) bool
- func (o *Extension[T]) LoadSupportData(filename string) bool
- func (o *Extension[T]) NameToTag(name string) int
- func (o *Extension[T]) ParseStructuredText(parser_type TextServer.StructuredTextParser, args []any, text string) []Vector3i.XYZ
- func (o *Extension[T]) SaveSupportData(filename string) bool
- func (o *Extension[T]) ShapedGetRunCount(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedGetRunDirection(shaped RID.TextBuffer, index int) TextServer.Direction
- func (o *Extension[T]) ShapedGetRunFontRid(shaped RID.TextBuffer, index int) RID.Font
- func (o *Extension[T]) ShapedGetRunFontSize(shaped RID.TextBuffer, index int) int
- func (o *Extension[T]) ShapedGetRunLanguage(shaped RID.TextBuffer, index int) string
- func (o *Extension[T]) ShapedGetRunObject(shaped RID.TextBuffer, index int) any
- func (o *Extension[T]) ShapedGetRunRange(shaped RID.TextBuffer, index int) Vector2i.XY
- func (o *Extension[T]) ShapedGetRunText(shaped RID.TextBuffer, index int) string
- func (o *Extension[T]) ShapedGetSpanCount(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedGetSpanEmbeddedObject(shaped RID.TextBuffer, index int) any
- func (o *Extension[T]) ShapedGetSpanMeta(shaped RID.TextBuffer, index int) any
- func (o *Extension[T]) ShapedGetSpanObject(shaped RID.TextBuffer, index int) any
- func (o *Extension[T]) ShapedGetSpanText(shaped RID.TextBuffer, index int) string
- func (o *Extension[T]) ShapedGetText(shaped RID.TextBuffer) string
- func (o *Extension[T]) ShapedTextClear(rid RID.TextBuffer)
- func (o *Extension[T]) ShapedTextClosestCharacterPos(shaped RID.TextBuffer, pos int) int
- func (o *Extension[T]) ShapedTextDuplicate(rid RID.TextBuffer) RID.TextBuffer
- func (o *Extension[T]) ShapedTextGetAscent(shaped RID.TextBuffer) Float.X
- func (o *Extension[T]) ShapedTextGetCarets(shaped RID.TextBuffer, position int) TextServer.Carets
- func (o *Extension[T]) ShapedTextGetCharacterBreaks(shaped RID.TextBuffer) []int32
- func (o *Extension[T]) ShapedTextGetCustomEllipsis(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedTextGetCustomPunctuation(shaped RID.TextBuffer) string
- func (o *Extension[T]) ShapedTextGetDescent(shaped RID.TextBuffer) Float.X
- func (o *Extension[T]) ShapedTextGetDirection(shaped RID.TextBuffer) TextServer.Direction
- func (o *Extension[T]) ShapedTextGetDominantDirectionInRange(shaped RID.TextBuffer, start int, end int) TextServer.Direction
- func (o *Extension[T]) ShapedTextGetEllipsisGlyphCount(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedTextGetEllipsisGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (o *Extension[T]) ShapedTextGetEllipsisPos(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedTextGetGlyphCount(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedTextGetGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (o *Extension[T]) ShapedTextGetGraphemeBounds(shaped RID.TextBuffer, pos int) Vector2.XY
- func (o *Extension[T]) ShapedTextGetInferredDirection(shaped RID.TextBuffer) TextServer.Direction
- func (o *Extension[T]) ShapedTextGetObjectGlyph(shaped RID.TextBuffer, key any) int
- func (o *Extension[T]) ShapedTextGetObjectRange(shaped RID.TextBuffer, key any) Vector2i.XY
- func (o *Extension[T]) ShapedTextGetObjectRect(shaped RID.TextBuffer, key any) Rect2.PositionSize
- func (o *Extension[T]) ShapedTextGetObjects(shaped RID.TextBuffer) []any
- func (o *Extension[T]) ShapedTextGetOrientation(shaped RID.TextBuffer) TextServer.Orientation
- func (o *Extension[T]) ShapedTextGetParent(shaped RID.TextBuffer) RID.TextBuffer
- func (o *Extension[T]) ShapedTextGetPreserveControl(shaped RID.TextBuffer) bool
- func (o *Extension[T]) ShapedTextGetPreserveInvalid(shaped RID.TextBuffer) bool
- func (o *Extension[T]) ShapedTextGetRange(shaped RID.TextBuffer) Vector2i.XY
- func (o *Extension[T]) ShapedTextGetSelection(shaped RID.TextBuffer, start int, end int) []Vector2.XY
- func (o *Extension[T]) ShapedTextGetSize(shaped RID.TextBuffer) Vector2.XY
- func (o *Extension[T]) ShapedTextGetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType) int
- func (o *Extension[T]) ShapedTextGetTrimPos(shaped RID.TextBuffer) int
- func (o *Extension[T]) ShapedTextGetUnderlinePosition(shaped RID.TextBuffer) Float.X
- func (o *Extension[T]) ShapedTextGetUnderlineThickness(shaped RID.TextBuffer) Float.X
- func (o *Extension[T]) ShapedTextGetWidth(shaped RID.TextBuffer) Float.X
- func (o *Extension[T]) ShapedTextHasObject(shaped RID.TextBuffer, key any) bool
- func (o *Extension[T]) ShapedTextHasVisibleChars(shaped RID.TextBuffer) bool
- func (o *Extension[T]) ShapedTextHitTestGrapheme(shaped RID.TextBuffer, coords Float.X) int
- func (o *Extension[T]) ShapedTextHitTestPosition(shaped RID.TextBuffer, coords Float.X) int
- func (o *Extension[T]) ShapedTextIsReady(shaped RID.TextBuffer) bool
- func (o *Extension[T]) ShapedTextNextCharacterPos(shaped RID.TextBuffer, pos int) int
- func (o *Extension[T]) ShapedTextNextGraphemePos(shaped RID.TextBuffer, pos int) int
- func (o *Extension[T]) ShapedTextPrevCharacterPos(shaped RID.TextBuffer, pos int) int
- func (o *Extension[T]) ShapedTextPrevGraphemePos(shaped RID.TextBuffer, pos int) int
- func (o *Extension[T]) ShapedTextSetBidiOverride(shaped RID.TextBuffer, override []any)
- func (o *Extension[T]) ShapedTextSetCustomEllipsis(shaped RID.TextBuffer, char int)
- func (o *Extension[T]) ShapedTextSetCustomPunctuation(shaped RID.TextBuffer, punct string)
- func (o *Extension[T]) ShapedTextSetPreserveControl(shaped RID.TextBuffer, enabled bool)
- func (o *Extension[T]) ShapedTextSetPreserveInvalid(shaped RID.TextBuffer, enabled bool)
- func (o *Extension[T]) ShapedTextSetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType, value int)
- func (o *Extension[T]) ShapedTextShape(shaped RID.TextBuffer) bool
- func (o *Extension[T]) ShapedTextSortLogical(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (o *Extension[T]) ShapedTextSubstr(shaped RID.TextBuffer, start int, length int) RID.TextBuffer
- func (o *Extension[T]) ShapedTextTabAlign(shaped RID.TextBuffer, tab_stops []float32) Float.X
- func (o *Extension[T]) SpoofCheck(s string) bool
- func (o *Extension[T]) StripDiacritics(s string) string
- func (o *Extension[T]) TagToName(tag int) string
- type FontSizeCacheInfo
- type Glyph
- type GlyphContours
- type ID
- type Instance
- func (o Instance) AsObject() [1]gdreference.Object
- func (o Instance) AsRefCounted() ie.RC
- func (o Instance) AsTextServer() TextServer.Instance
- func (o Instance) AsTextServerAdvanced() Instance
- func (o Instance) AsTextServerExtension() TextServerExtension.Instance
- func (self Instance) CreateFont() RID.Font
- func (self Instance) CreateFontLinkedVariation(font_rid RID.Font) RID.Font
- func (self Instance) DrawHexCodeBox(canvas RID.Canvas, size int, pos Vector2.XY, index int, color Color.RGBA)
- func (self Instance) FontClearGlyphs(font_rid RID.Font, size Vector2i.XY)
- func (self Instance) FontClearKerningMap(font_rid RID.Font, size int)
- func (self Instance) FontClearSizeCache(font_rid RID.Font)
- func (self Instance) FontClearSystemFallbackCache()
- func (self Instance) FontClearTextures(font_rid RID.Font, size Vector2i.XY)
- func (self Instance) FontGetAntialiasing(font_rid RID.Font) TextServer.FontAntialiasing
- func (self Instance) FontGetAscent(font_rid RID.Font, size int) Float.X
- func (self Instance) FontGetBaselineOffset(font_rid RID.Font) Float.X
- func (self Instance) FontGetCharFromGlyphIndex(font_rid RID.Font, size int, glyph_index int) int
- func (self Instance) FontGetDescent(font_rid RID.Font, size int) Float.X
- func (self Instance) FontGetDisableEmbeddedBitmaps(font_rid RID.Font) bool
- func (self Instance) FontGetEmbolden(font_rid RID.Font) Float.X
- func (self Instance) FontGetFaceCount(font_rid RID.Font) int
- func (self Instance) FontGetFaceIndex(font_rid RID.Font) int
- func (self Instance) FontGetFixedSize(font_rid RID.Font) int
- func (self Instance) FontGetFixedSizeScaleMode(font_rid RID.Font) TextServer.FixedSizeScaleMode
- func (self Instance) FontGetGenerateMipmaps(font_rid RID.Font) bool
- func (self Instance) FontGetGlobalOversampling() Float.X
- func (self Instance) FontGetGlyphAdvance(font_rid RID.Font, size int, glyph int) Vector2.XY
- func (self Instance) FontGetGlyphContours(font RID.Font, size int, index int) TextServer.GlyphContours
- func (self Instance) FontGetGlyphIndex(font_rid RID.Font, size int, char int, variation_selector int) int
- func (self Instance) FontGetGlyphList(font_rid RID.Font, size Vector2i.XY) []int32
- func (self Instance) FontGetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (self Instance) FontGetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (self Instance) FontGetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int) int
- func (self Instance) FontGetGlyphTextureRid(font_rid RID.Font, size Vector2i.XY, glyph int) RID.Texture
- func (self Instance) FontGetGlyphTextureSize(font_rid RID.Font, size Vector2i.XY, glyph int) Vector2.XY
- func (self Instance) FontGetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int) Rect2.PositionSize
- func (self Instance) FontGetHinting(font_rid RID.Font) TextServer.Hinting
- func (self Instance) FontGetKeepRoundingRemainders(font_rid RID.Font) bool
- func (self Instance) FontGetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY) Vector2.XY
- func (self Instance) FontGetKerningList(font_rid RID.Font, size int) []Vector2i.XY
- func (self Instance) FontGetLanguageSupportOverride(font_rid RID.Font, language string) bool
- func (self Instance) FontGetLanguageSupportOverrides(font_rid RID.Font) []string
- func (self Instance) FontGetMsdfPixelRange(font_rid RID.Font) int
- func (self Instance) FontGetMsdfSize(font_rid RID.Font) int
- func (self Instance) FontGetName(font_rid RID.Font) string
- func (self Instance) FontGetOpentypeFeatureOverrides(font_rid RID.Font) map[string][2]string
- func (self Instance) FontGetOtNameStrings(font_rid RID.Font) map[string]map[string]string
- func (self Instance) FontGetOversampling(font_rid RID.Font) Float.X
- func (self Instance) FontGetScale(font_rid RID.Font, size int) Float.X
- func (self Instance) FontGetScriptSupportOverride(font_rid RID.Font, script string) bool
- func (self Instance) FontGetScriptSupportOverrides(font_rid RID.Font) []string
- func (self Instance) FontGetSizeCacheInfo(font_rid RID.Font) []TextServer.FontSizeCacheInfo
- func (self Instance) FontGetSizeCacheList(font_rid RID.Font) []Vector2i.XY
- func (self Instance) FontGetSpacing(font_rid RID.Font, spacing TextServer.SpacingType) int
- func (self Instance) FontGetStretch(font_rid RID.Font) int
- func (self Instance) FontGetStyle(font_rid RID.Font) TextServer.FontStyle
- func (self Instance) FontGetStyleName(font_rid RID.Font) string
- func (self Instance) FontGetSubpixelPositioning(font_rid RID.Font) TextServer.SubpixelPositioning
- func (self Instance) FontGetSupportedChars(font_rid RID.Font) string
- func (self Instance) FontGetSupportedGlyphs(font_rid RID.Font) []int32
- func (self Instance) FontGetTextureCount(font_rid RID.Font, size Vector2i.XY) int
- func (self Instance) FontGetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int) Image.Instance
- func (self Instance) FontGetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int) []int32
- func (self Instance) FontGetTransform(font_rid RID.Font) Transform2D.OriginXY
- func (self Instance) FontGetUnderlinePosition(font_rid RID.Font, size int) Float.X
- func (self Instance) FontGetUnderlineThickness(font_rid RID.Font, size int) Float.X
- func (self Instance) FontGetVariationCoordinates(font_rid RID.Font) map[string]float32
- func (self Instance) FontGetWeight(font_rid RID.Font) int
- func (self Instance) FontHasChar(font_rid RID.Font, char int) bool
- func (self Instance) FontIsAllowSystemFallback(font_rid RID.Font) bool
- func (self Instance) FontIsForceAutohinter(font_rid RID.Font) bool
- func (self Instance) FontIsLanguageSupported(font_rid RID.Font, language string) bool
- func (self Instance) FontIsModulateColorGlyphs(font_rid RID.Font) bool
- func (self Instance) FontIsMultichannelSignedDistanceField(font_rid RID.Font) bool
- func (self Instance) FontIsScriptSupported(font_rid RID.Font, script string) bool
- func (self Instance) FontRemoveGlyph(font_rid RID.Font, size Vector2i.XY, glyph int)
- func (self Instance) FontRemoveKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY)
- func (self Instance) FontRemoveLanguageSupportOverride(font_rid RID.Font, language string)
- func (self Instance) FontRemoveScriptSupportOverride(font_rid RID.Font, script string)
- func (self Instance) FontRemoveSizeCache(font_rid RID.Font, size Vector2i.XY)
- func (self Instance) FontRemoveTexture(font_rid RID.Font, size Vector2i.XY, texture_index int)
- func (self Instance) FontRenderGlyph(font_rid RID.Font, size Vector2i.XY, index int)
- func (self Instance) FontRenderRange(font_rid RID.Font, size Vector2i.XY, start int, end int)
- func (self Instance) FontSetAllowSystemFallback(font_rid RID.Font, allow_system_fallback bool)
- func (self Instance) FontSetAntialiasing(font_rid RID.Font, antialiasing TextServer.FontAntialiasing)
- func (self Instance) FontSetAscent(font_rid RID.Font, size int, ascent Float.X)
- func (self Instance) FontSetBaselineOffset(font_rid RID.Font, baseline_offset Float.X)
- func (self Instance) FontSetData(font_rid RID.Font, data []byte)
- func (self Instance) FontSetDescent(font_rid RID.Font, size int, descent Float.X)
- func (self Instance) FontSetDisableEmbeddedBitmaps(font_rid RID.Font, disable_embedded_bitmaps bool)
- func (self Instance) FontSetEmbolden(font_rid RID.Font, strength Float.X)
- func (self Instance) FontSetFaceIndex(font_rid RID.Font, face_index int)
- func (self Instance) FontSetFixedSize(font_rid RID.Font, fixed_size int)
- func (self Instance) FontSetFixedSizeScaleMode(font_rid RID.Font, fixed_size_scale_mode TextServer.FixedSizeScaleMode)
- func (self Instance) FontSetForceAutohinter(font_rid RID.Font, force_autohinter bool)
- func (self Instance) FontSetGenerateMipmaps(font_rid RID.Font, generate_mipmaps bool)
- func (self Instance) FontSetGlobalOversampling(oversampling Float.X)
- func (self Instance) FontSetGlyphAdvance(font_rid RID.Font, size int, glyph int, advance Vector2.XY)
- func (self Instance) FontSetGlyphOffset(font_rid RID.Font, size Vector2i.XY, glyph int, offset Vector2.XY)
- func (self Instance) FontSetGlyphSize(font_rid RID.Font, size Vector2i.XY, glyph int, gl_size Vector2.XY)
- func (self Instance) FontSetGlyphTextureIdx(font_rid RID.Font, size Vector2i.XY, glyph int, texture_idx int)
- func (self Instance) FontSetGlyphUvRect(font_rid RID.Font, size Vector2i.XY, glyph int, uv_rect Rect2.PositionSize)
- func (self Instance) FontSetHinting(font_rid RID.Font, hinting TextServer.Hinting)
- func (self Instance) FontSetKeepRoundingRemainders(font_rid RID.Font, keep_rounding_remainders bool)
- func (self Instance) FontSetKerning(font_rid RID.Font, size int, glyph_pair Vector2i.XY, kerning Vector2.XY)
- func (self Instance) FontSetLanguageSupportOverride(font_rid RID.Font, language string, supported bool)
- func (self Instance) FontSetModulateColorGlyphs(font_rid RID.Font, force_autohinter bool)
- func (self Instance) FontSetMsdfPixelRange(font_rid RID.Font, msdf_pixel_range int)
- func (self Instance) FontSetMsdfSize(font_rid RID.Font, msdf_size int)
- func (self Instance) FontSetMultichannelSignedDistanceField(font_rid RID.Font, msdf bool)
- func (self Instance) FontSetName(font_rid RID.Font, name string)
- func (self Instance) FontSetOpentypeFeatureOverrides(font_rid RID.Font, overrides map[string][2]string)
- func (self Instance) FontSetOversampling(font_rid RID.Font, oversampling Float.X)
- func (self Instance) FontSetScale(font_rid RID.Font, size int, scale Float.X)
- func (self Instance) FontSetScriptSupportOverride(font_rid RID.Font, script string, supported bool)
- func (self Instance) FontSetSpacing(font_rid RID.Font, spacing TextServer.SpacingType, value int)
- func (self Instance) FontSetStretch(font_rid RID.Font, weight int)
- func (self Instance) FontSetStyle(font_rid RID.Font, style TextServer.FontStyle)
- func (self Instance) FontSetStyleName(font_rid RID.Font, name string)
- func (self Instance) FontSetSubpixelPositioning(font_rid RID.Font, subpixel_positioning TextServer.SubpixelPositioning)
- func (self Instance) FontSetTextureImage(font_rid RID.Font, size Vector2i.XY, texture_index int, image Image.Instance)
- func (self Instance) FontSetTextureOffsets(font_rid RID.Font, size Vector2i.XY, texture_index int, offset []int32)
- func (self Instance) FontSetTransform(font_rid RID.Font, transform Transform2D.OriginXY)
- func (self Instance) FontSetUnderlinePosition(font_rid RID.Font, size int, underline_position Float.X)
- func (self Instance) FontSetUnderlineThickness(font_rid RID.Font, size int, underline_thickness Float.X)
- func (self Instance) FontSetVariationCoordinates(font_rid RID.Font, variation_coordinates map[string]float32)
- func (self Instance) FontSetWeight(font_rid RID.Font, weight int)
- func (self Instance) FontSupportedFeatureList(font_rid RID.Font) map[string]TextServer.OpenTypeFeature
- func (self Instance) FontSupportedVariationList(font_rid RID.Font) map[int]struct{ ... }
- func (self Instance) FreeRid(rid RID.Any)
- func (self Instance) GetFeatures() int
- func (self Instance) GetHexCodeBoxSize(size int, index int) Vector2.XY
- func (self Instance) GetName() string
- func (self Instance) GetSupportData() []byte
- func (self Instance) GetSupportDataFilename() string
- func (self Instance) GetSupportDataInfo() string
- func (self Instance) Has(rid RID.Any) bool
- func (self Instance) HasFeature(feature TextServer.Feature) bool
- func (self Instance) ID() ID
- func (self Instance) IsConfusable(s string, dict []string) int
- func (self Instance) IsLocaleRightToLeft(locale string) bool
- func (self Instance) IsLocaleUsingSupportData(locale string) bool
- func (self Instance) IsValidIdentifier(s string) bool
- func (self Instance) IsValidLetter(unicode int) bool
- func (self Instance) LoadSupportData(filename string) bool
- func (self Instance) NameToTag(name string) int
- func (self Instance) ParseStructuredText(parser_type TextServer.StructuredTextParser, args []any, text string) []Vector3i.XYZ
- func (self Instance) SaveSupportData(filename string) bool
- func (self *Instance) SetObject(obj [1]gdreference.Object) bool
- func (self Instance) ShapedGetRunCount(shaped RID.TextBuffer) int
- func (self Instance) ShapedGetRunDirection(shaped RID.TextBuffer, index int) TextServer.Direction
- func (self Instance) ShapedGetRunFontRid(shaped RID.TextBuffer, index int) RID.Font
- func (self Instance) ShapedGetRunFontSize(shaped RID.TextBuffer, index int) int
- func (self Instance) ShapedGetRunLanguage(shaped RID.TextBuffer, index int) string
- func (self Instance) ShapedGetRunObject(shaped RID.TextBuffer, index int) any
- func (self Instance) ShapedGetRunRange(shaped RID.TextBuffer, index int) Vector2i.XY
- func (self Instance) ShapedGetRunText(shaped RID.TextBuffer, index int) string
- func (self Instance) ShapedGetSpanCount(shaped RID.TextBuffer) int
- func (self Instance) ShapedGetSpanEmbeddedObject(shaped RID.TextBuffer, index int) any
- func (self Instance) ShapedGetSpanMeta(shaped RID.TextBuffer, index int) any
- func (self Instance) ShapedGetSpanObject(shaped RID.TextBuffer, index int) any
- func (self Instance) ShapedGetSpanText(shaped RID.TextBuffer, index int) string
- func (self Instance) ShapedGetText(shaped RID.TextBuffer) string
- func (self Instance) ShapedTextClear(rid RID.TextBuffer)
- func (self Instance) ShapedTextClosestCharacterPos(shaped RID.TextBuffer, pos int) int
- func (self Instance) ShapedTextDuplicate(rid RID.TextBuffer) RID.TextBuffer
- func (self Instance) ShapedTextGetAscent(shaped RID.TextBuffer) Float.X
- func (self Instance) ShapedTextGetCarets(shaped RID.TextBuffer, position int) TextServer.Carets
- func (self Instance) ShapedTextGetCharacterBreaks(shaped RID.TextBuffer) []int32
- func (self Instance) ShapedTextGetCustomEllipsis(shaped RID.TextBuffer) int
- func (self Instance) ShapedTextGetCustomPunctuation(shaped RID.TextBuffer) string
- func (self Instance) ShapedTextGetDescent(shaped RID.TextBuffer) Float.X
- func (self Instance) ShapedTextGetDirection(shaped RID.TextBuffer) TextServer.Direction
- func (self Instance) ShapedTextGetDominantDirectionInRange(shaped RID.TextBuffer, start int, end int) TextServer.Direction
- func (self Instance) ShapedTextGetEllipsisGlyphCount(shaped RID.TextBuffer) int
- func (self Instance) ShapedTextGetEllipsisGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (self Instance) ShapedTextGetEllipsisPos(shaped RID.TextBuffer) int
- func (self Instance) ShapedTextGetGlyphCount(shaped RID.TextBuffer) int
- func (self Instance) ShapedTextGetGlyphs(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (self Instance) ShapedTextGetGraphemeBounds(shaped RID.TextBuffer, pos int) Vector2.XY
- func (self Instance) ShapedTextGetInferredDirection(shaped RID.TextBuffer) TextServer.Direction
- func (self Instance) ShapedTextGetObjectGlyph(shaped RID.TextBuffer, key any) int
- func (self Instance) ShapedTextGetObjectRange(shaped RID.TextBuffer, key any) Vector2i.XY
- func (self Instance) ShapedTextGetObjectRect(shaped RID.TextBuffer, key any) Rect2.PositionSize
- func (self Instance) ShapedTextGetObjects(shaped RID.TextBuffer) []any
- func (self Instance) ShapedTextGetOrientation(shaped RID.TextBuffer) TextServer.Orientation
- func (self Instance) ShapedTextGetParent(shaped RID.TextBuffer) RID.TextBuffer
- func (self Instance) ShapedTextGetPreserveControl(shaped RID.TextBuffer) bool
- func (self Instance) ShapedTextGetPreserveInvalid(shaped RID.TextBuffer) bool
- func (self Instance) ShapedTextGetRange(shaped RID.TextBuffer) Vector2i.XY
- func (self Instance) ShapedTextGetSelection(shaped RID.TextBuffer, start int, end int) []Vector2.XY
- func (self Instance) ShapedTextGetSize(shaped RID.TextBuffer) Vector2.XY
- func (self Instance) ShapedTextGetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType) int
- func (self Instance) ShapedTextGetTrimPos(shaped RID.TextBuffer) int
- func (self Instance) ShapedTextGetUnderlinePosition(shaped RID.TextBuffer) Float.X
- func (self Instance) ShapedTextGetUnderlineThickness(shaped RID.TextBuffer) Float.X
- func (self Instance) ShapedTextGetWidth(shaped RID.TextBuffer) Float.X
- func (self Instance) ShapedTextHasObject(shaped RID.TextBuffer, key any) bool
- func (self Instance) ShapedTextHasVisibleChars(shaped RID.TextBuffer) bool
- func (self Instance) ShapedTextHitTestGrapheme(shaped RID.TextBuffer, coords Float.X) int
- func (self Instance) ShapedTextHitTestPosition(shaped RID.TextBuffer, coords Float.X) int
- func (self Instance) ShapedTextIsReady(shaped RID.TextBuffer) bool
- func (self Instance) ShapedTextNextCharacterPos(shaped RID.TextBuffer, pos int) int
- func (self Instance) ShapedTextNextGraphemePos(shaped RID.TextBuffer, pos int) int
- func (self Instance) ShapedTextPrevCharacterPos(shaped RID.TextBuffer, pos int) int
- func (self Instance) ShapedTextPrevGraphemePos(shaped RID.TextBuffer, pos int) int
- func (self Instance) ShapedTextSetBidiOverride(shaped RID.TextBuffer, override []any)
- func (self Instance) ShapedTextSetCustomEllipsis(shaped RID.TextBuffer, char int)
- func (self Instance) ShapedTextSetCustomPunctuation(shaped RID.TextBuffer, punct string)
- func (self Instance) ShapedTextSetPreserveControl(shaped RID.TextBuffer, enabled bool)
- func (self Instance) ShapedTextSetPreserveInvalid(shaped RID.TextBuffer, enabled bool)
- func (self Instance) ShapedTextSetSpacing(shaped RID.TextBuffer, spacing TextServer.SpacingType, value int)
- func (self Instance) ShapedTextShape(shaped RID.TextBuffer) bool
- func (self Instance) ShapedTextSortLogical(shaped RID.TextBuffer) [][]TextServer.Glyph
- func (self Instance) ShapedTextSubstr(shaped RID.TextBuffer, start int, length int) RID.TextBuffer
- func (self Instance) ShapedTextTabAlign(shaped RID.TextBuffer, tab_stops []float32) Float.X
- func (self Instance) SpoofCheck(s string) bool
- func (self Instance) StripDiacritics(s string) string
- func (self Instance) TagToName(tag int) string
- func (self Instance) Virtual(name string) reflect.Value
- type OpenTypeFeature
- type Singleton
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 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 ¶
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 (*Extension[T]) AsTextServer ¶
func (o *Extension[T]) AsTextServer() TextServer.Instance
func (*Extension[T]) AsTextServerAdvanced ¶
func (*Extension[T]) AsTextServerExtension ¶
func (o *Extension[T]) AsTextServerExtension() TextServerExtension.Instance
func (*Extension[T]) CreateFont ¶
CreateFont is promoted from TextServer.Instance.CreateFont.
func (*Extension[T]) CreateFontLinkedVariation ¶
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 ¶
FontClearGlyphs is promoted from TextServer.Instance.FontClearGlyphs.
func (*Extension[T]) FontClearKerningMap ¶
FontClearKerningMap is promoted from TextServer.Instance.FontClearKerningMap.
func (*Extension[T]) FontClearSizeCache ¶
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 ¶
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 ¶
FontGetAscent is promoted from TextServer.Instance.FontGetAscent.
func (*Extension[T]) FontGetBaselineOffset ¶
FontGetBaselineOffset is promoted from TextServer.Instance.FontGetBaselineOffset.
func (*Extension[T]) FontGetCharFromGlyphIndex ¶
FontGetCharFromGlyphIndex is promoted from TextServer.Instance.FontGetCharFromGlyphIndex.
func (*Extension[T]) FontGetDescent ¶
FontGetDescent is promoted from TextServer.Instance.FontGetDescent.
func (*Extension[T]) FontGetDisableEmbeddedBitmaps ¶
FontGetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontGetDisableEmbeddedBitmaps.
func (*Extension[T]) FontGetEmbolden ¶
FontGetEmbolden is promoted from TextServer.Instance.FontGetEmbolden.
func (*Extension[T]) FontGetFaceCount ¶
FontGetFaceCount is promoted from TextServer.Instance.FontGetFaceCount.
func (*Extension[T]) FontGetFaceIndex ¶
FontGetFaceIndex is promoted from TextServer.Instance.FontGetFaceIndex.
func (*Extension[T]) FontGetFixedSize ¶
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 ¶
FontGetGenerateMipmaps is promoted from TextServer.Instance.FontGetGenerateMipmaps.
func (*Extension[T]) FontGetGlobalOversampling ¶
FontGetGlobalOversampling is promoted from TextServer.Instance.FontGetGlobalOversampling.
func (*Extension[T]) FontGetGlyphAdvance ¶
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 ¶
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 ¶
FontGetGlyphSize is promoted from TextServer.Instance.FontGetGlyphSize.
func (*Extension[T]) FontGetGlyphTextureIdx ¶
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 ¶
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 ¶
FontGetKerningList is promoted from TextServer.Instance.FontGetKerningList.
func (*Extension[T]) FontGetLanguageSupportOverride ¶
FontGetLanguageSupportOverride is promoted from TextServer.Instance.FontGetLanguageSupportOverride.
func (*Extension[T]) FontGetLanguageSupportOverrides ¶
FontGetLanguageSupportOverrides is promoted from TextServer.Instance.FontGetLanguageSupportOverrides.
func (*Extension[T]) FontGetMsdfPixelRange ¶
FontGetMsdfPixelRange is promoted from TextServer.Instance.FontGetMsdfPixelRange.
func (*Extension[T]) FontGetMsdfSize ¶
FontGetMsdfSize is promoted from TextServer.Instance.FontGetMsdfSize.
func (*Extension[T]) FontGetName ¶
FontGetName is promoted from TextServer.Instance.FontGetName.
func (*Extension[T]) FontGetOpentypeFeatureOverrides ¶
FontGetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontGetOpentypeFeatureOverrides.
func (*Extension[T]) FontGetOtNameStrings ¶
FontGetOtNameStrings is promoted from TextServer.Instance.FontGetOtNameStrings.
func (*Extension[T]) FontGetOversampling ¶
FontGetOversampling is promoted from TextServer.Instance.FontGetOversampling.
func (*Extension[T]) FontGetScale ¶
FontGetScale is promoted from TextServer.Instance.FontGetScale.
func (*Extension[T]) FontGetScriptSupportOverride ¶
FontGetScriptSupportOverride is promoted from TextServer.Instance.FontGetScriptSupportOverride.
func (*Extension[T]) FontGetScriptSupportOverrides ¶
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 ¶
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 ¶
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 ¶
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 ¶
FontGetSupportedChars is promoted from TextServer.Instance.FontGetSupportedChars.
func (*Extension[T]) FontGetSupportedGlyphs ¶
FontGetSupportedGlyphs is promoted from TextServer.Instance.FontGetSupportedGlyphs.
func (*Extension[T]) FontGetTextureCount ¶
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 ¶
FontGetUnderlinePosition is promoted from TextServer.Instance.FontGetUnderlinePosition.
func (*Extension[T]) FontGetUnderlineThickness ¶
FontGetUnderlineThickness is promoted from TextServer.Instance.FontGetUnderlineThickness.
func (*Extension[T]) FontGetVariationCoordinates ¶
FontGetVariationCoordinates is promoted from TextServer.Instance.FontGetVariationCoordinates.
func (*Extension[T]) FontGetWeight ¶
FontGetWeight is promoted from TextServer.Instance.FontGetWeight.
func (*Extension[T]) FontHasChar ¶
FontHasChar is promoted from TextServer.Instance.FontHasChar.
func (*Extension[T]) FontIsAllowSystemFallback ¶
FontIsAllowSystemFallback is promoted from TextServer.Instance.FontIsAllowSystemFallback.
func (*Extension[T]) FontIsForceAutohinter ¶
FontIsForceAutohinter is promoted from TextServer.Instance.FontIsForceAutohinter.
func (*Extension[T]) FontIsLanguageSupported ¶
FontIsLanguageSupported is promoted from TextServer.Instance.FontIsLanguageSupported.
func (*Extension[T]) FontIsModulateColorGlyphs ¶
FontIsModulateColorGlyphs is promoted from TextServer.Instance.FontIsModulateColorGlyphs.
func (*Extension[T]) FontIsMultichannelSignedDistanceField ¶
FontIsMultichannelSignedDistanceField is promoted from TextServer.Instance.FontIsMultichannelSignedDistanceField.
func (*Extension[T]) FontIsScriptSupported ¶
FontIsScriptSupported is promoted from TextServer.Instance.FontIsScriptSupported.
func (*Extension[T]) FontRemoveGlyph ¶
FontRemoveGlyph is promoted from TextServer.Instance.FontRemoveGlyph.
func (*Extension[T]) FontRemoveKerning ¶
FontRemoveKerning is promoted from TextServer.Instance.FontRemoveKerning.
func (*Extension[T]) FontRemoveLanguageSupportOverride ¶
FontRemoveLanguageSupportOverride is promoted from TextServer.Instance.FontRemoveLanguageSupportOverride.
func (*Extension[T]) FontRemoveScriptSupportOverride ¶
FontRemoveScriptSupportOverride is promoted from TextServer.Instance.FontRemoveScriptSupportOverride.
func (*Extension[T]) FontRemoveSizeCache ¶
FontRemoveSizeCache is promoted from TextServer.Instance.FontRemoveSizeCache.
func (*Extension[T]) FontRemoveTexture ¶
FontRemoveTexture is promoted from TextServer.Instance.FontRemoveTexture.
func (*Extension[T]) FontRenderGlyph ¶
FontRenderGlyph is promoted from TextServer.Instance.FontRenderGlyph.
func (*Extension[T]) FontRenderRange ¶
FontRenderRange is promoted from TextServer.Instance.FontRenderRange.
func (*Extension[T]) FontSetAllowSystemFallback ¶
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 ¶
FontSetAscent is promoted from TextServer.Instance.FontSetAscent.
func (*Extension[T]) FontSetBaselineOffset ¶
FontSetBaselineOffset is promoted from TextServer.Instance.FontSetBaselineOffset.
func (*Extension[T]) FontSetData ¶
FontSetData is promoted from TextServer.Instance.FontSetData.
func (*Extension[T]) FontSetDescent ¶
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 ¶
FontSetEmbolden is promoted from TextServer.Instance.FontSetEmbolden.
func (*Extension[T]) FontSetFaceIndex ¶
FontSetFaceIndex is promoted from TextServer.Instance.FontSetFaceIndex.
func (*Extension[T]) FontSetFixedSize ¶
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 ¶
FontSetForceAutohinter is promoted from TextServer.Instance.FontSetForceAutohinter.
func (*Extension[T]) FontSetGenerateMipmaps ¶
FontSetGenerateMipmaps is promoted from TextServer.Instance.FontSetGenerateMipmaps.
func (*Extension[T]) FontSetGlobalOversampling ¶
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 ¶
FontSetModulateColorGlyphs is promoted from TextServer.Instance.FontSetModulateColorGlyphs.
func (*Extension[T]) FontSetMsdfPixelRange ¶
FontSetMsdfPixelRange is promoted from TextServer.Instance.FontSetMsdfPixelRange.
func (*Extension[T]) FontSetMsdfSize ¶
FontSetMsdfSize is promoted from TextServer.Instance.FontSetMsdfSize.
func (*Extension[T]) FontSetMultichannelSignedDistanceField ¶
FontSetMultichannelSignedDistanceField is promoted from TextServer.Instance.FontSetMultichannelSignedDistanceField.
func (*Extension[T]) FontSetName ¶
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 ¶
FontSetOversampling is promoted from TextServer.Instance.FontSetOversampling.
func (*Extension[T]) FontSetScale ¶
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 ¶
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 ¶
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 ¶
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 ¶
FreeRid is promoted from TextServer.Instance.FreeRid.
func (*Extension[T]) GetFeatures ¶
GetFeatures is promoted from TextServer.Instance.GetFeatures.
func (*Extension[T]) GetHexCodeBoxSize ¶
GetHexCodeBoxSize is promoted from TextServer.Instance.GetHexCodeBoxSize.
func (*Extension[T]) GetName ¶
GetName is promoted from TextServer.Instance.GetName.
func (*Extension[T]) GetSupportData ¶
GetSupportData is promoted from TextServer.Instance.GetSupportData.
func (*Extension[T]) GetSupportDataFilename ¶
GetSupportDataFilename is promoted from TextServer.Instance.GetSupportDataFilename.
func (*Extension[T]) GetSupportDataInfo ¶
GetSupportDataInfo is promoted from TextServer.Instance.GetSupportDataInfo.
func (*Extension[T]) Has ¶
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 ¶
IsConfusable is promoted from TextServer.Instance.IsConfusable.
func (*Extension[T]) IsLocaleRightToLeft ¶
IsLocaleRightToLeft is promoted from TextServer.Instance.IsLocaleRightToLeft.
func (*Extension[T]) IsLocaleUsingSupportData ¶
IsLocaleUsingSupportData is promoted from TextServer.Instance.IsLocaleUsingSupportData.
func (*Extension[T]) IsValidIdentifier ¶
IsValidIdentifier is promoted from TextServer.Instance.IsValidIdentifier.
func (*Extension[T]) IsValidLetter ¶
IsValidLetter is promoted from TextServer.Instance.IsValidLetter.
func (*Extension[T]) LoadSupportData ¶
LoadSupportData is promoted from TextServer.Instance.LoadSupportData.
func (*Extension[T]) NameToTag ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
ShapedTextHitTestGrapheme is promoted from TextServer.Instance.ShapedTextHitTestGrapheme.
func (*Extension[T]) ShapedTextHitTestPosition ¶
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 ¶
ShapedTextTabAlign is promoted from TextServer.Instance.ShapedTextTabAlign.
func (*Extension[T]) SpoofCheck ¶
SpoofCheck is promoted from TextServer.Instance.SpoofCheck.
func (*Extension[T]) StripDiacritics ¶
StripDiacritics is promoted from TextServer.Instance.StripDiacritics.
type FontSizeCacheInfo ¶
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 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.
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 (Instance) AsObject ¶
func (o Instance) AsObject() [1]gdreference.Object
func (Instance) AsRefCounted ¶
func (Instance) AsTextServer ¶
func (o Instance) AsTextServer() TextServer.Instance
func (Instance) AsTextServerAdvanced ¶
func (Instance) AsTextServerExtension ¶
func (o Instance) AsTextServerExtension() TextServerExtension.Instance
func (Instance) CreateFont ¶
CreateFont is promoted from TextServer.Instance.CreateFont.
func (Instance) CreateFontLinkedVariation ¶
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 ¶
FontClearGlyphs is promoted from TextServer.Instance.FontClearGlyphs.
func (Instance) FontClearKerningMap ¶
FontClearKerningMap is promoted from TextServer.Instance.FontClearKerningMap.
func (Instance) FontClearSizeCache ¶
FontClearSizeCache is promoted from TextServer.Instance.FontClearSizeCache.
func (Instance) FontClearSystemFallbackCache ¶
func (self Instance) FontClearSystemFallbackCache()
FontClearSystemFallbackCache is promoted from TextServer.Instance.FontClearSystemFallbackCache.
func (Instance) FontClearTextures ¶
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 ¶
FontGetAscent is promoted from TextServer.Instance.FontGetAscent.
func (Instance) FontGetBaselineOffset ¶
FontGetBaselineOffset is promoted from TextServer.Instance.FontGetBaselineOffset.
func (Instance) FontGetCharFromGlyphIndex ¶
FontGetCharFromGlyphIndex is promoted from TextServer.Instance.FontGetCharFromGlyphIndex.
func (Instance) FontGetDescent ¶
FontGetDescent is promoted from TextServer.Instance.FontGetDescent.
func (Instance) FontGetDisableEmbeddedBitmaps ¶
FontGetDisableEmbeddedBitmaps is promoted from TextServer.Instance.FontGetDisableEmbeddedBitmaps.
func (Instance) FontGetEmbolden ¶
FontGetEmbolden is promoted from TextServer.Instance.FontGetEmbolden.
func (Instance) FontGetFaceCount ¶
FontGetFaceCount is promoted from TextServer.Instance.FontGetFaceCount.
func (Instance) FontGetFaceIndex ¶
FontGetFaceIndex is promoted from TextServer.Instance.FontGetFaceIndex.
func (Instance) FontGetFixedSize ¶
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 ¶
FontGetGenerateMipmaps is promoted from TextServer.Instance.FontGetGenerateMipmaps.
func (Instance) FontGetGlobalOversampling ¶
FontGetGlobalOversampling is promoted from TextServer.Instance.FontGetGlobalOversampling.
func (Instance) FontGetGlyphAdvance ¶
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 ¶
FontGetGlyphList is promoted from TextServer.Instance.FontGetGlyphList.
func (Instance) FontGetGlyphOffset ¶
FontGetGlyphOffset is promoted from TextServer.Instance.FontGetGlyphOffset.
func (Instance) FontGetGlyphSize ¶
FontGetGlyphSize is promoted from TextServer.Instance.FontGetGlyphSize.
func (Instance) FontGetGlyphTextureIdx ¶
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 ¶
FontGetKeepRoundingRemainders is promoted from TextServer.Instance.FontGetKeepRoundingRemainders.
func (Instance) FontGetKerning ¶
FontGetKerning is promoted from TextServer.Instance.FontGetKerning.
func (Instance) FontGetKerningList ¶
FontGetKerningList is promoted from TextServer.Instance.FontGetKerningList.
func (Instance) FontGetLanguageSupportOverride ¶
FontGetLanguageSupportOverride is promoted from TextServer.Instance.FontGetLanguageSupportOverride.
func (Instance) FontGetLanguageSupportOverrides ¶
FontGetLanguageSupportOverrides is promoted from TextServer.Instance.FontGetLanguageSupportOverrides.
func (Instance) FontGetMsdfPixelRange ¶
FontGetMsdfPixelRange is promoted from TextServer.Instance.FontGetMsdfPixelRange.
func (Instance) FontGetMsdfSize ¶
FontGetMsdfSize is promoted from TextServer.Instance.FontGetMsdfSize.
func (Instance) FontGetName ¶
FontGetName is promoted from TextServer.Instance.FontGetName.
func (Instance) FontGetOpentypeFeatureOverrides ¶
FontGetOpentypeFeatureOverrides is promoted from TextServer.Instance.FontGetOpentypeFeatureOverrides.
func (Instance) FontGetOtNameStrings ¶
FontGetOtNameStrings is promoted from TextServer.Instance.FontGetOtNameStrings.
func (Instance) FontGetOversampling ¶
FontGetOversampling is promoted from TextServer.Instance.FontGetOversampling.
func (Instance) FontGetScale ¶
FontGetScale is promoted from TextServer.Instance.FontGetScale.
func (Instance) FontGetScriptSupportOverride ¶
FontGetScriptSupportOverride is promoted from TextServer.Instance.FontGetScriptSupportOverride.
func (Instance) FontGetScriptSupportOverrides ¶
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 ¶
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 ¶
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 ¶
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 ¶
FontGetSupportedChars is promoted from TextServer.Instance.FontGetSupportedChars.
func (Instance) FontGetSupportedGlyphs ¶
FontGetSupportedGlyphs is promoted from TextServer.Instance.FontGetSupportedGlyphs.
func (Instance) FontGetTextureCount ¶
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 ¶
FontGetUnderlinePosition is promoted from TextServer.Instance.FontGetUnderlinePosition.
func (Instance) FontGetUnderlineThickness ¶
FontGetUnderlineThickness is promoted from TextServer.Instance.FontGetUnderlineThickness.
func (Instance) FontGetVariationCoordinates ¶
FontGetVariationCoordinates is promoted from TextServer.Instance.FontGetVariationCoordinates.
func (Instance) FontGetWeight ¶
FontGetWeight is promoted from TextServer.Instance.FontGetWeight.
func (Instance) FontHasChar ¶
FontHasChar is promoted from TextServer.Instance.FontHasChar.
func (Instance) FontIsAllowSystemFallback ¶
FontIsAllowSystemFallback is promoted from TextServer.Instance.FontIsAllowSystemFallback.
func (Instance) FontIsForceAutohinter ¶
FontIsForceAutohinter is promoted from TextServer.Instance.FontIsForceAutohinter.
func (Instance) FontIsLanguageSupported ¶
FontIsLanguageSupported is promoted from TextServer.Instance.FontIsLanguageSupported.
func (Instance) FontIsModulateColorGlyphs ¶
FontIsModulateColorGlyphs is promoted from TextServer.Instance.FontIsModulateColorGlyphs.
func (Instance) FontIsMultichannelSignedDistanceField ¶
FontIsMultichannelSignedDistanceField is promoted from TextServer.Instance.FontIsMultichannelSignedDistanceField.
func (Instance) FontIsScriptSupported ¶
FontIsScriptSupported is promoted from TextServer.Instance.FontIsScriptSupported.
func (Instance) FontRemoveGlyph ¶
FontRemoveGlyph is promoted from TextServer.Instance.FontRemoveGlyph.
func (Instance) FontRemoveKerning ¶
FontRemoveKerning is promoted from TextServer.Instance.FontRemoveKerning.
func (Instance) FontRemoveLanguageSupportOverride ¶
FontRemoveLanguageSupportOverride is promoted from TextServer.Instance.FontRemoveLanguageSupportOverride.
func (Instance) FontRemoveScriptSupportOverride ¶
FontRemoveScriptSupportOverride is promoted from TextServer.Instance.FontRemoveScriptSupportOverride.
func (Instance) FontRemoveSizeCache ¶
FontRemoveSizeCache is promoted from TextServer.Instance.FontRemoveSizeCache.
func (Instance) FontRemoveTexture ¶
FontRemoveTexture is promoted from TextServer.Instance.FontRemoveTexture.
func (Instance) FontRenderGlyph ¶
FontRenderGlyph is promoted from TextServer.Instance.FontRenderGlyph.
func (Instance) FontRenderRange ¶
FontRenderRange is promoted from TextServer.Instance.FontRenderRange.
func (Instance) FontSetAllowSystemFallback ¶
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 ¶
FontSetAscent is promoted from TextServer.Instance.FontSetAscent.
func (Instance) FontSetBaselineOffset ¶
FontSetBaselineOffset is promoted from TextServer.Instance.FontSetBaselineOffset.
func (Instance) FontSetData ¶
FontSetData is promoted from TextServer.Instance.FontSetData.
func (Instance) FontSetDescent ¶
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 ¶
FontSetEmbolden is promoted from TextServer.Instance.FontSetEmbolden.
func (Instance) FontSetFaceIndex ¶
FontSetFaceIndex is promoted from TextServer.Instance.FontSetFaceIndex.
func (Instance) FontSetFixedSize ¶
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 ¶
FontSetForceAutohinter is promoted from TextServer.Instance.FontSetForceAutohinter.
func (Instance) FontSetGenerateMipmaps ¶
FontSetGenerateMipmaps is promoted from TextServer.Instance.FontSetGenerateMipmaps.
func (Instance) FontSetGlobalOversampling ¶
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 ¶
FontSetModulateColorGlyphs is promoted from TextServer.Instance.FontSetModulateColorGlyphs.
func (Instance) FontSetMsdfPixelRange ¶
FontSetMsdfPixelRange is promoted from TextServer.Instance.FontSetMsdfPixelRange.
func (Instance) FontSetMsdfSize ¶
FontSetMsdfSize is promoted from TextServer.Instance.FontSetMsdfSize.
func (Instance) FontSetMultichannelSignedDistanceField ¶
FontSetMultichannelSignedDistanceField is promoted from TextServer.Instance.FontSetMultichannelSignedDistanceField.
func (Instance) FontSetName ¶
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 ¶
FontSetOversampling is promoted from TextServer.Instance.FontSetOversampling.
func (Instance) FontSetScale ¶
FontSetScale is promoted from TextServer.Instance.FontSetScale.
func (Instance) FontSetScriptSupportOverride ¶
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 ¶
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 ¶
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 ¶
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 ¶
FreeRid is promoted from TextServer.Instance.FreeRid.
func (Instance) GetFeatures ¶
GetFeatures is promoted from TextServer.Instance.GetFeatures.
func (Instance) GetHexCodeBoxSize ¶
GetHexCodeBoxSize is promoted from TextServer.Instance.GetHexCodeBoxSize.
func (Instance) GetName ¶
GetName is promoted from TextServer.Instance.GetName.
func (Instance) GetSupportData ¶
GetSupportData is promoted from TextServer.Instance.GetSupportData.
func (Instance) GetSupportDataFilename ¶
GetSupportDataFilename is promoted from TextServer.Instance.GetSupportDataFilename.
func (Instance) GetSupportDataInfo ¶
GetSupportDataInfo is promoted from TextServer.Instance.GetSupportDataInfo.
func (Instance) Has ¶
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) IsConfusable ¶
IsConfusable is promoted from TextServer.Instance.IsConfusable.
func (Instance) IsLocaleRightToLeft ¶
IsLocaleRightToLeft is promoted from TextServer.Instance.IsLocaleRightToLeft.
func (Instance) IsLocaleUsingSupportData ¶
IsLocaleUsingSupportData is promoted from TextServer.Instance.IsLocaleUsingSupportData.
func (Instance) IsValidIdentifier ¶
IsValidIdentifier is promoted from TextServer.Instance.IsValidIdentifier.
func (Instance) IsValidLetter ¶
IsValidLetter is promoted from TextServer.Instance.IsValidLetter.
func (Instance) LoadSupportData ¶
LoadSupportData is promoted from TextServer.Instance.LoadSupportData.
func (Instance) NameToTag ¶
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 ¶
SaveSupportData is promoted from TextServer.Instance.SaveSupportData.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
ShapedTextHitTestGrapheme is promoted from TextServer.Instance.ShapedTextHitTestGrapheme.
func (Instance) ShapedTextHitTestPosition ¶
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 ¶
ShapedTextTabAlign is promoted from TextServer.Instance.ShapedTextTabAlign.
func (Instance) SpoofCheck ¶
SpoofCheck is promoted from TextServer.Instance.SpoofCheck.
func (Instance) StripDiacritics ¶
StripDiacritics is promoted from TextServer.Instance.StripDiacritics.
func (Instance) TagToName ¶
TagToName is promoted from TextServer.Instance.TagToName.
type OpenTypeFeature ¶
type Singleton ¶
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.