RSS

Вторник, 05.11.2024, 12:26
Главная » WoW API »

API Функции

[ Добавить запись ]

В разделе материалов: 7079
Показано материалов: 3051-3100
Страницы: « 1 2 ... 60 61 62 63 64 ... 141 142 »

Название Описание
FontString:SetHeight(height) Sets the region's height.
FontString:SetFormattedText("formatString", ...) Sets the text displayed in the font string using format specifiers.
FontString:SetFontObject(object) or FontString:SetFontObject("name") Sets the `Font` object from which the font instance's properties are inherited.
isValid = FontString:SetFont("filename", fontHeight, "flags") Sets the font instance's basic font properties.
FontString:SetDrawLayer("layer", sublayer) Sets the layer at which the region's graphics are drawn relative to others in its frame.
FontString:SetAlphaGradient(start, length) Creates an opacity gradient over the text in the font string.
FontString:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
FontString:SetAllPoints([region]) or FontString:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
visible = FontString:IsVisible() Returns whether the region is visible.
FontString:IsTruncated() Returns true if the text is truncated.
shown = FontString:IsShown() Returns whether the region is shown.
isProtected, explicit = FontString:IsProtected() Returns whether the region is protected.
isType = FontString:IsObjectType("type") Returns whether the object belongs to a given widget type.
isOver = FontString:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
isDragging = FontString:IsDragging() Returns whether the region is currently being dragged.
FontString:Hide() Hides the region.
FontString:GetWrappedWidth() Функция еще не задокументированна.
width = FontString:GetWidth() Returns the width of the region.
top = FontString:GetTop() Returns the distance from the bottom of the screen to the top of the region.
textR, textG, textB, textAlpha = FontString:GetTextColor() Returns the font instance's default text color.
text = FontString:GetText() Returns the text currently set for display in the font string.
width = FontString:GetStringWidth() Returns the width of the text displayed in the font string.
height = FontString:GetStringHeight() Returns the height of the text displayed in the font string.
spacing = FontString:GetSpacing() Returns the font instance's amount of spacing between lines.
width, height = FontString:GetSize() Returns the width and height of the region.
xOffset, yOffset = FontString:GetShadowOffset() Returns the offset of the font instance's text shadow from its text.
shadowR, shadowG, shadowB, shadowAlpha = FontString:GetShadowColor() Returns the color of the font's text shadow.
right = FontString:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
left, bottom, width, height = FontString:GetRect() Returns the position and dimensions of the region.
point, relativeTo, relativePoint, xOffset, yOffset = FontString:GetPoint(index) Returns information about one of the region's anchor points.
parent = FontString:GetParent() Returns the object's parent object.
type = FontString:GetObjectType() Returns the object's widget type.
numPoints = FontString:GetNumPoints() Returns the number of anchor points defined for the region.
name = FontString:GetName() Returns the widget object's name.
FontString:GetMaxLines() Функция еще не задокументированна.
left = FontString:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
justify = FontString:GetJustifyV() Returns the font instance's vertical text alignment style.
justify = FontString:GetJustifyH() Returns the font instance's horizontal text alignment style.
FontString:GetIndentedWordWrap() Функция еще не задокументированна.
height = FontString:GetHeight() Returns the height of the region.
font = FontString:GetFontObject() Returns the `Font` object from which the font instance's properties are inherited.
filename, fontHeight, flags = FontString:GetFont() Returns the font instance's basic font properties.
FontString:GetFieldSize() Функция еще не задокументированна.
layer, sublayer = FontString:GetDrawLayer() Returns the layer at which the region's graphics are drawn relative to others in its frame.
x, y = FontString:GetCenter() Returns the screen coordinates of the region's center.
bottom = FontString:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
... = FontString:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = FontString:GetAlpha() Returns the opacity of the region relative to its parent.
animationGroup = FontString:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
FontString:ClearAllPoints() Removes all anchor points from the region.