RSS

Понедельник, 23.12.2024, 13:33
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 751-800
Страницы: « 1 2 ... 14 15 16 17 18 ... 141 142 »

Название Описание
VisibleRegion:SetHeight(height) Sets the region's height.
VisibleRegion:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
VisibleRegion:SetAllPoints([region]) or VisibleRegion:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
visible = VisibleRegion:IsVisible() Returns whether the region is visible.
shown = VisibleRegion:IsShown() Returns whether the region is shown.
isProtected, explicit = VisibleRegion:IsProtected() Returns whether the region is protected.
isType = VisibleRegion:IsObjectType("type") Returns whether the object belongs to a given widget type.
isOver = VisibleRegion:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
isDragging = VisibleRegion:IsDragging() Returns whether the region is currently being dragged.
VisibleRegion:Hide() Hides the region.
width = VisibleRegion:GetWidth() Returns the width of the region.
top = VisibleRegion:GetTop() Returns the distance from the bottom of the screen to the top of the region.
width, height = VisibleRegion:GetSize() Returns the width and height of the region.
right = VisibleRegion:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
left, bottom, width, height = VisibleRegion:GetRect() Returns the position and dimensions of the region.
point, relativeTo, relativePoint, xOffset, yOffset = VisibleRegion:GetPoint(index) Returns information about one of the region's anchor points.
parent = VisibleRegion:GetParent() Returns the object's parent object.
type = VisibleRegion:GetObjectType() Returns the object's widget type.
numPoints = VisibleRegion:GetNumPoints() Returns the number of anchor points defined for the region.
name = VisibleRegion:GetName() Returns the widget object's name.
left = VisibleRegion:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
height = VisibleRegion:GetHeight() Returns the height of the region.
x, y = VisibleRegion:GetCenter() Returns the screen coordinates of the region's center.
bottom = VisibleRegion:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
... = VisibleRegion:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = VisibleRegion:GetAlpha() Returns the opacity of the region relative to its parent.
animationGroup = VisibleRegion:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
VisibleRegion:ClearAllPoints() Removes all anchor points from the region.
canChange = VisibleRegion:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
isType = UIObject:IsObjectType("type") Returns whether the object belongs to a given widget type.
type = UIObject:GetObjectType() Returns the object's widget type.
name = UIObject:GetName() Returns the widget object's name.
Translation:Stop() Stops the animation.
Translation:SetStartDelay(delay) Sets the amount of time for the animation to delay before its progress begins.
Translation:SetSmoothing("smoothType") Sets the smoothing type for the animation.
Translation:SetSmoothProgress() Функция еще не задокументированна.
Translation:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Translation:SetParent(animGroup) or Translation:SetParent("animGroupName") Sets the parent for the animation.
Translation:SetOrder(order) Sets the order for the animation to play within its parent group.
Translation:SetOffset(xOffset, yOffset) Sets the animation's translation offsets.
Translation:SetEndDelay(delay) Sets the amount of time for the animation to delay after finishing.
Translation:SetDuration(duration) Sets the time for the animation to progress from start to finish.
Translation:Play() Plays the animation.
Translation:Pause() Pauses the animation.
stopped = Translation:IsStopped() Returns whether the animation is currently stopped.
playing = Translation:IsPlaying() Returns whether the animation is currently playing.
paused = Translation:IsPaused() Returns whether the animation is currently paused.
isType = Translation:IsObjectType("type") Returns whether the object belongs to a given widget type.
done = Translation:IsDone() Returns whether the animation has finished playing.
delaying = Translation:IsDelaying() Returns whether the animation is currently in the middle of a start or end delay.