m ProbablePrime moved page ArcLayout (Component) to Component:ArcLayout: Creating component Namespace |
added more info |
||
Line 1: | Line 1: | ||
<languages></languages> | <languages></languages> | ||
<translate> | <translate> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=ArcLayoutComponent.png | |Image=ArcLayoutComponent.png | ||
Line 9: | Line 7: | ||
<!--T:2--> | <!--T:2--> | ||
== | == Introduction == | ||
Arc layout is a component primarily used in a user's context menu. It requires a set of [[Slot|slots]] under the slot the component is attached to, and each slot needs an [[Component:OutlinedArc|OutlinedArc Component]] and an [[Component:ArcSegmentLayout|ArcSegmentLayout Component]]. | |||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Arc|Float| | |Arc|Float| The amount of the circle in degrees to cover with the arc elements | ||
|Offset|Float| | |Offset|Float| the amount to rotate the arc elements around the center in degrees from the default position | ||
|Separation|Float| | |Separation|Float| how much to separate the elements from each other | ||
|CenterAtSeparation|Bool| | |CenterAtSeparation|Bool| {{Stub}} | ||
|ProportionalSize|Bool| | |ProportionalSize|Bool| {{Stub}} | ||
|ItemDirection|Direction| | |ItemDirection|Direction| How to arrange the elements in order from the initial position | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== Behavior == | == Behavior == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:6--> | <!--T:6--> | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[ | [[Component:OutlinedArc{{#translation:}}|OutlinedArc (Component){{#translation:}}]] | ||
[[ | [[Component:ArcSegmentLayout{{#translation:}}|ArcSegmentLayout (Component){{#translation:}}]] | ||
Revision as of 23:02, 13 February 2024
Component image
Introduction
Arc layout is a component primarily used in a user's context menu. It requires a set of slots under the slot the component is attached to, and each slot needs an OutlinedArc Component and an ArcSegmentLayout Component.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Arc
|
Float | The amount of the circle in degrees to cover with the arc elements |
Offset
|
Float | the amount to rotate the arc elements around the center in degrees from the default position |
Separation
|
Float | how much to separate the elements from each other |
CenterAtSeparation
|
Bool | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
ProportionalSize
|
Bool | This article or section is a Stub. You can help the Resonite Wiki by expanding it. |
ItemDirection
|
Direction | How to arrange the elements in order from the initial position |
Behavior
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.