# TextButton(ロブロックス クラス) > 文字の付いた、押せるボタンのGUIの部品です。 - URL:https://roblox.minecraft-okinawa.com/reference/classes/TextButton/ - 公式:https://create.roblox.com/docs/reference/engine/classes/TextButton - 受け継いでいるクラス:GuiButton ## プロパティ - `TextButton.ContentText: string`:A copy of TextButton.Text that contains exactly what is being rendered by the TextButton. - `TextButton.FontFace: Datatype.Font`:Determines the font used to render text. - `TextButton.LineHeight: float`:Scales the spacing between lines of text in the TextButton. - `TextButton.MaxVisibleGraphemes: int`:The maximum number of graphemes the TextButton can show. - `TextButton.OpenTypeFeatures: string`:Applies OpenType font features, such as stylistic sets, to the text rendered by the TextButton. - `TextButton.OpenTypeFeaturesError: string`:Read-only property that contains the error message, if any, produced while applying Class.TextButton.OpenTypeFeatures|OpenTypeFeatures. - `TextButton.RichText: boolean`:Determines whether the TextButton renders its text using rich text formatting. - `TextButton.Text: string`:ボタンに表示する文字。 - `TextButton.TextBounds: Vector2`:Read-only property which reflects the absolute size of rendered text in offsets. - `TextButton.TextColor3: Color3`:Determines the color of rendered text. - `TextButton.TextDirection: TextDirection`:Direction in which the text is rendered. - `TextButton.TextFits: boolean`:A boolean representation of whether the button's text fits within the size of it. - `TextButton.TextScaled: boolean`:Changes whether text is resized to fit within the TextButton. - `TextButton.TextSize: float`:Determines the line height of text in offsets. - `TextButton.TextStrokeColor3: Color3`:Determines the color of the text stroke (outline). - `TextButton.TextStrokeTransparency: float`:Determines the transparency of the text stroke (outline). - `TextButton.TextTransparency: float`:Determines the transparency of rendered text. - `TextButton.TextTruncate: TextTruncate`:Controls the truncation of the text displayed in the TextButton. - `TextButton.TextWrapped: boolean`:Determines if text wraps to multiple lines within the TextButton element's space, truncating excess text. - `TextButton.TextXAlignment: TextXAlignment`:Determines the horizontal alignment of rendered text. - `TextButton.TextYAlignment: TextYAlignment`:Determines the vertical alignment of rendered text. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)