ScrollingFrame

사용되지 않는 항목 표시

The ScrollingFrame is a special Frame that handles all scrolling for you, with a range of different ways to customize how the scrolling works.

요약

속성

속성GuiObject에서 상속되었습니다속성GuiBase2d에서 상속되었습니다

메서드

메서드GuiObject에서 상속되었습니다

이벤트

이벤트GuiObject에서 상속되었습니다이벤트GuiBase2d에서 상속되었습니다

속성

AbsoluteCanvasSize

읽기 전용
복제되지 않음

The size in offsets of the area that is scrollable. This property is set to the maximum of the CanvasSize property and the size of the children if AutomaticCanvasSize is set to something other than Enum.AutomaticSize.None.

AbsoluteWindowSize

읽기 전용
복제되지 않음

The size in offsets of the frame, without the scrollbars.

AutomaticCanvasSize

병렬 읽기

This property is used to automatically size parent UI objects based on the size of its descendants. Developers can use this property to dynamically add text and other content to a UI object at edit or run time, and the size will adjust to fit that content.

When this property is set to an Enum.AutomaticSize value other than None, AbsoluteCanvasSize may resize depending on its child content.

BottomImage

병렬 읽기

The Down image on the vertical scrollbar. Size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the image on the horizontal scroll bar.

CanvasPosition

병렬 읽기

The location within the canvas, in offsets, that should be drawn at the top left of the scroll frame

CanvasSize

병렬 읽기

Determines the size of the area that is scrollable. The UDim2 is calculated using the parent gui's size, similar to the regular Size property on gui objects.

ElasticBehavior

병렬 읽기

This property determines if and when the ScrollingFrame canvas is elastic. Defaults to WhenScrollable.

HorizontalScrollBarInset

병렬 읽기

Indicates the inset behavior of the horizontal scrolling bar.

MidImage

병렬 읽기

The middle image on the vertical scrollbar. The size of this can vary in the y direction, but is always set as ScrollingFrame.ScrollBarThickness in the x direction. This is also used as the middle image on the horizontal scroll bar.

ScrollBarImageColor3

병렬 읽기

Determines how a scrolling bar image is colorized. When set to white, no colorization occurs. This property is very useful for reusing image assets: If the source image is completely white with transparency, you can set the entire color of the image at once with this property.

ScrollBarImageTransparency

병렬 읽기

Determines the alpha of a scroll bar's rendered image. A value of 0 is completely opaque, and a value of 1 is completely transparent (invisible). This property behaves similarly to GuiObject.BackgroundTransparency or BasePart.Transparency.

ScrollBarThickness

병렬 읽기

How thick the scroll bar appears. This applies to both the horizontal and vertical scroll bars. If set to 0, no scroll bars are rendered.

ScrollingDirection

병렬 읽기

This property determines the direction scrolling is allowed. If scrolling is disallowed in a direction, the scrollbar will not appear. Defaults to XY.

ScrollingEnabled

병렬 읽기

Determines whether or not scrolling is allowed on the frame. If false, no scroll bars will be rendered.

TopImage

병렬 읽기

The Up image on the vertical scrollbar. The size of this is always ScrollBarThickness by ScrollBarThickness. This is also used as the left image on the horizontal scroll bar.

VerticalScrollBarInset

병렬 읽기

Indicates the inset behavior of the vertical scrolling bar.

VerticalScrollBarPosition

병렬 읽기

Indicates the side that the vertical scrollbar will be located at.

메서드

이벤트