# TextService(ロブロックス クラス) > Service internally responsible for handling the display of text. - URL:https://roblox.minecraft-okinawa.com/reference/classes/TextService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/TextService - 受け継いでいるクラス:Instance ## メソッド - `TextService:FilterStringAsync(stringToFilter: string, fromUserId: int64, textContext: TextFilterContext): TextFilterResult`:Filters a string being received from a user and returns a - `TextService:GetFamilyInfoAsync(assetId: ContentId): Dictionary`:Returns a table containing the name and faces of a font family. - `TextService:GetTextBoundsAsync(params: GetTextBoundsParams): Vector2`:Computes the Vector2 dimensions (in pixels) that will be taken up with text when using a GetTextBoundsParams object. - `TextService:GetTextSize(string: string, fontSize: int, font: Enum.Font, frameSize: Vector2): Vector2`:Computes the Vector2 dimensions (in pixels) that will be taken up with text when using the specified formatting parameters and size constraints. - `TextService:GetTextSizeOffsetAsync(fontSize: int, font: Datatype.Font): float`:Returns the offset used to up-scale text based on the current GuiService.PreferredTextSize setting. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)