ViolinPlot
Package: Libraries.Interface.Controls.Charts · Inherits from: Libraries.Interface.Controls.Charts.Chart, Libraries.Interface.Controls.Control, Libraries.Interface.Item, Libraries.Interface.Controls.Charts.ChartItem, Libraries.Interface.Item2D, Libraries.Language.Object
The ViolinPlot class is Chart object that inherits from Control and like other UI elements it is added to the Game class. The Violin Plot is used as an indication of how the values in the data are spread out. Violin Plots can also be used to compare datasets for more than one group. The title label, axis labels, and scales can be modified. Any number of plots can be added.
Example Code
use Libraries.Compute.Statistics.DataFrame
use Libraries.Interface.Controls.Charts.ViolinPlot
DataFrame frame
frame:Load("Data.csv")
frame:AddSelectedColumn(1)
ViolinPlot chart = frame:ViolinPlot()
chart:SetTitle("My Awesome Title")
chart:Display()
Actions
AddChartItemInstructions(Libraries.Interface.Item chartItem, text description)
This action generates the instruction text for a chart item description.
Parameters
chartItemLibraries.Interface.Item: The chart item that will have the instructionsdescriptiontext: The base portion of the description that will appear before the instructions
AddPlotGroup(Libraries.Interface.Controls.Charts.Graphics.PlotGroup group)
Appends a new plotgroup.
Parameters
AddPlotItemInstructions(Libraries.Interface.Item chartItem, text description)
This action generates the instruction text for a plot item description.
Parameters
chartItemLibraries.Interface.Item: The chart item that will have the instructionsdescriptiontext: The base portion of the description that will appear before the instructions
ConvertToScalableVectorGraphics()
This action converts this chart to a text value that contains information for a scalable vector graphics file. This is useful for saving charts to disk. Each sub-class of chart must implement this action separately.
Returns
text: the Scalable Vector Graphics (SVG) text.
DisposeDrawables()
DisposeDrawables Empties drawables from the chart area.
GenerateInfoTree()
GenerateInfoTree Generates the tree of ChartItems that define how the chart will be navigated and what extra information might be sent to the screen reader.
GenerateSummary()
This is called by GenerateInfoTree to generate the summary that is heard when you first focus on the chart. Also the highest level of the information tree of the chart.
Returns
text
GetBandWidth()
This returns the inteval size to calculate the normal distributions
Returns
number
GetChartItemText()
This action gets the chart item text.
Returns
text
GetChartItemsText()
This action gets the chart items text.
Returns
text
GetGroupText()
This action gets the group text.
Returns
text
GetGroupsText()
This action gets the groups text.
Returns
text
GetNumberOfPlots()
Returns the number of boxes currently added to the Box Plot
Returns
integer
GetPlotGroups()
Returns an array of all the plot groups
Returns
Libraries.Containers.Array<Libraries.Interface.Controls.Charts.Graphics.PlotGroup>
GetSplitFlag()
Returns the split plot flag
Returns
boolean
GetWindowingAction()
This gets what kind of kernel function that is used to calculate the normal distributions
Returns
LoadChartAreaItems()
LoadGraphics This action is used to load the graphical components of the Control. This is handled automatically by the Game engine as needed, and most users shouldn't need to use this action directly.
LoadGraphics(Libraries.Interface.Layouts.LayoutProperties properties)
LoadGraphics This action is used to load the graphical components of the Control. This is handled automatically by the Game engine as needed, and most users shouldn't need to use this action directly.
Parameters
propertiesLibraries.Interface.Layouts.LayoutProperties
LostSelection(Libraries.Interface.Controls.Charts.ChartItem ci)
LostSelection is a supplemental action to the parent Chart's LostSelection. Any items specific to only this type of chart or if an item needs different highlighting instructions than that of the parent class, it will have their LostSelection defined here. Unlike many kinds of user interface controls, there is no universal way of interacting with a chart and, as such, this may be defined by any chart to be custom. As such, charts must be able to take messages suggesting an item in the chart has either lost or gained the focus. Broadly speaking, this is done automatically and while charts need to implement this action, they do not need to call this action directly.
Parameters
ciLibraries.Interface.Controls.Charts.ChartItem: the ChartItem representing the structure for this particular kind of chart.
OnSelectionChange(Libraries.Interface.Controls.Charts.ChartItem item)
OnSelectionChange is a supplemental action to the parent Chart's OnSelectionChange. Any items specific to only this type of chart or if an item needs different highlighting instructions than that of the parent class, it will have their GainedSelection defined here. Unlike many kinds of user interface controls, there is no universal way of interacting with a chart and, as such, this may be defined by any chart to be custom. As such, charts must be able to take messages suggesting an item in the chart has either lost or gained the focus. Broadly speaking, this is done automatically and while charts need to implement this action, they do not need to call this action directly.
Parameters
Save(Libraries.System.File file)
This action saves this chart to disk at the position of the current file. To conduct the conversion, the file extension is used. Only Scalable Vector Graphics (SVG) is currently supported.
Parameters
fileLibraries.System.File: the location of where to save the file.
SetBandWidth(number value)
This sets the inteval size to calculate the normal distributions
Parameters
valuenumber
SetWindowingAction(Libraries.Compute.Statistics.Analysis.UnivariateAction act)
This sets what kind of kernel function to use to calculate the normal distributions
Parameters
SetXAxisMaximum(number max)
Max and min value will track the highest and lowest values and limit the axis controls to not pass that value.
Parameters
maxnumber
SetXAxisMinimum(number min)
Set the x axis minumum for the violin plot. Attribute Parameter min the min value on the axis.
Parameters
minnumber
SetYAxisMaximum(number max)
Set the y axis maximum for the violin plot. Attribute Parameter max the maximum value on the axis.
Parameters
maxnumber
SetYAxisMinimum(number min)
Set the y axis minumum for the violin plot. Attribute Parameter min the min value on the axis
Parameters
minnumber
Share(Libraries.System.File file)
This action saves this chart to disk at the position of the current file. To conduct the conversion, the file extension is used. Only Hypertext Markup Language (HTML) is currently supported, and Scalable Vector Graphics (SVG) conversion is used. This makes a file that can be opened in the browser that imports the Javascript and Cascading Stylesheets necessary to navigate the charts accessibly on the web.
Parameters
fileLibraries.System.File: the location of where to save the file.
SplitPlot(boolean flag)
Sets a flag that determines if a plot should be split for 2 column, one factor
Parameters
flagboolean
Inherited Actions
258 actions from Libraries.Interface.Controls.Charts.Chart
- AddChartAreaInstructions(text description)
- AddGroupPanel(Libraries.Interface.Controls.Charts.GroupPanel group)
- AddGroupPanelInstructions(Libraries.Interface.Controls.Charts.Graphics.ChartDrawable groupPanel, text description)
- AddSeries(Libraries.Interface.Controls.Charts.Series series)
- AddSubChartAreaInstructions(Libraries.Interface.Controls.Charts.ChartAreaPanel subChartArea, text description)
- AdjustForLegend()
- AdjustForXAxis()
- AdjustForYAxis()
- ApplySelectionBoxAroundItem(Libraries.Interface.Controls.Charts.ChartItem item, number padding)
- ApplySelectionBoxAroundItem(Libraries.Interface.Controls.Charts.ChartItem item, number topPadding, number rightPadding, number bottomPadding, number leftPadding)
- CheckPlatformInstructions()
- ConvertToScalableVectorGraphics(boolean hasAccessibility)
- Display(boolean exit)
- Display(integer width, integer height)
- Display()
- Display(integer width, integer height, boolean exit)
- FlipOrientation()
- GetBackground()
- GetChartArea()
- GetChartAreaHeightPercent()
- GetChartAreaWidthPercent()
- GetColorPalette()
- GetContainer()
- GetCornerRadius()
- GetCurrentArrowSize()
- GetCurrentSideArrow()
- GetEnterInstruction()
- GetExitInstruction()
- GetFactorList()
- GetGeneralInstruction()
- GetGroupPanels()
- GetHorizontalFlag()
- GetHorizontalPanel()
- GetHorizontalPanelHeightPercent()
- GetHorizontalPanelWidthPercent()
- GetLegend()
- GetLegendIconBorderThickness()
- GetLegendPanel()
- GetLegendTitle()
- GetListOrderInstruction()
- GetNumberOfChartAreas()
- GetPatternPalette()
- GetPointBorderThickness()
- GetRegressionLineColor()
- GetRegressionLineDensity()
- GetRotationOverride()
- GetScriptFilepath()
- GetSelection()
- GetSelectionArrow()
- GetSelectionBoxBorderThickness()
- GetSelectionBracket()
- GetSeriesList()
- GetSeriesText()
- GetStyleFilepath()
- GetSubChartAreas()
- GetSubHorizontalPanels()
- GetSubVerticalPanels()
- GetSubtitle()
- GetSubtitleAreaHeightPercent()
- GetSubtitleLabel()
- GetTickDigits()
- GetTitle()
- GetTitleAreaHeightPercent()
- GetTitleLabel()
- GetTouchExplorationEnabled()
- GetValueOrderInstruction()
- GetVerticalFlag()
- GetVerticalPanel()
- GetVerticalPanelHeightPercent()
- GetVerticalPanelWidthPercent()
- GetXAxisMaximum()
- GetXAxisMinimum()
- GetXAxisTitle()
- GetXAxisUsePercent()
- GetXLabels()
- GetXLabelsRotation()
- GetYAxisMaximum()
- GetYAxisMinimum()
- GetYAxisTitle()
- GetYAxisUsePercent()
- GetYLabels()
- HasAccessibility()
- HasGroups()
- HasMovableRegressionLine()
- HideAllGridLines()
- HideAllTicks()
- HideAllXGridLines()
- HideAllYGridLines()
- HideMajorGridLines()
- HideMajorXGridLines()
- HideMajorYGridLines()
- HideMinorGridLines()
- HideMinorXGridLines()
- HideMinorYGridLines()
- IsAccessibleParent()
- IsLockingRegressionYIntercepts()
- IsSeparated()
- IsSeparatedByFactor()
- IsSeparatedBySeries()
- IsShowingLegend()
- IsShowingLinearRegression()
- IsShowingMajorXGridLines()
- IsShowingMajorYGridLines()
- IsShowingMinorXGridLines()
- IsShowingMinorYGridLines()
- IsShowingPatterns()
- IsShowingSubChartAreaTitles()
- IsShowingSubtitle()
- IsShowingTitle()
- IsShowingXAxis()
- IsShowingXAxisTitle()
- IsShowingYAxis()
- IsShowingYAxisLine()
- IsShowingYAxisTitle()
- LoadSelectionGraphics()
- LockRegressionYIntercept(number intercept)
- LostSelection()
- NeedsTreeUpdate()
- OrientationChanged()
- OverrideXLabelsWithText(Libraries.Containers.Array<text> labels)
- OverrideYLabelsWithText(Libraries.Containers.Array<text> labels)
- RemoveSelectionVisual()
- Resize()
- RotateXLabels(integer degrees)
- Save(text path)
- Select(Libraries.Interface.Controls.Charts.ChartItem item)
- SelectionDown()
- SelectionEnter()
- SelectionEscape()
- SelectionLeft()
- SelectionNextFocus()
- SelectionPreviousFocus()
- SelectionRight()
- SelectionUp()
- SeparateByFactor()
- SeparateByFactor(boolean flag)
- SeparateByFactor(integer requestedColumns)
- SeparateBySeries()
- SeparateBySeries(integer requestedColumns)
- SeparateBySeries(boolean flag)
- SetAccessibilityFlag(boolean hasAccessibility)
- SetBackground(Libraries.Game.Graphics.Drawable background)
- SetColorPalette(Libraries.Game.Graphics.Color colorA, Libraries.Game.Graphics.Color colorB, Libraries.Game.Graphics.Color colorC)
- SetColorPalette(Libraries.Interface.Controls.Charts.ColorPalettes.ColorPalette colorPalette)
- SetColorPalette(Libraries.Game.Graphics.Color color)
- SetColorPalette(Libraries.Game.Graphics.Color colorA, Libraries.Game.Graphics.Color colorB)
- SetColorPalette(Libraries.Containers.Array<Libraries.Game.Graphics.Color> palette)
- SetColorPaletteToCalm()
- SetColorPaletteToColorgorical()
- SetColorPaletteToCoolScale()
- SetColorPaletteToDisturbing()
- SetColorPaletteToExciting()
- SetColorPaletteToMagma()
- SetColorPaletteToNegative()
- SetColorPaletteToPlayful()
- SetColorPaletteToPositive()
- SetColorPaletteToSerious()
- SetColorPaletteToTrustworthy()
- SetColorPaletteToWarmScale()
- SetContainer(Libraries.Interface.Controls.Charts.Chart container)
- SetCornerRadius(number cornerRadius)
- SetCurrentArrowSize(integer currentArrowSize)
- SetCurrentPaletteToGrayScale()
- SetCurrentSideArrow(boolean currentSideArrow)
- SetEnterInstruction(text enterInstruction)
- SetExitInstruction(text exitInstruction)
- SetFactorList(Libraries.Containers.Array<text> factorList)
- SetFontSize(integer size)
- SetGeneralInstruction(text generalInstruction)
- SetHighlightColor(Libraries.Game.Graphics.Color color)
- SetLegend(Libraries.Interface.Controls.Charts.Legend legend)
- SetLegendIconBorderThickness(number thickness)
- SetLegendLabelFontSize(integer size)
- SetLegendLocationToBottom()
- SetLegendLocationToLeft()
- SetLegendLocationToRight()
- SetLegendLocationToTop()
- SetLegendTitle(text name)
- SetLegendTitleFontSize(integer size)
- SetListOrderInstruction(text listOrderInstruction)
- SetMinorXGridlineCount(integer count)
- SetMinorYGridlineCount(integer count)
- SetNeedsUpdate(boolean update)
- SetOrientationToHorizontal()
- SetOrientationToVertical()
- SetPatternPalette(Libraries.Interface.Controls.Charts.PatternPalette patternPalette)
- SetPointBorderThickness(number pointBorderThickness)
- SetRegressionLineColor(Libraries.Game.Graphics.Color color)
- SetRegressionLineDensity(integer density)
- SetRotationOverride(boolean flag)
- SetScriptFilepath(text scriptFilepath)
- SetSelectionBoxBorderThickness(number selectionBoxBorderThickness)
- SetSeriesList(Libraries.Containers.Array<Libraries.Interface.Controls.Charts.Series> series)
- SetStyleFilepath(text styleFilepath)
- SetSubtitle(text name)
- SetSubtitleFontSize(integer size)
- SetTickDigits(integer tickDigits)
- SetTitle(text name)
- SetTitleFontSize(integer size)
- SetTouchExplorationEnabled(boolean touchExplorationEnabled)
- SetValueOrderInstruction(text valueOrderInstruction)
- SetXAxisNumberFormat(text format)
- SetXAxisPaddedOffsetPercent(number percent)
- SetXAxisTitle(text name)
- SetXAxisUsePercent(boolean bool)
- SetXLabelFontSize(integer size)
- SetXLabels(Libraries.Containers.Array<Libraries.Interface.Controls.Charts.ChartLabel> newLabels)
- SetXTickCount(integer ticks)
- SetXTickInterval(number set)
- SetXTickInterval(integer set)
- SetXTitleFontSize(integer size)
- SetYAxisNumberFormat(text format)
- SetYAxisPaddedOffsetPercent(number percent)
- SetYAxisTitle(text name)
- SetYAxisUsePercent(boolean bool)
- SetYLabelFontSize(integer size)
- SetYLabels(Libraries.Containers.Array<Libraries.Interface.Controls.Charts.ChartLabel> newLabels)
- SetYTickCount(integer ticks)
- SetYTickInterval(number set)
- SetYTickInterval(integer set)
- SetYTitleFontSize(integer size)
- Share(text path)
- ShowAllGridLines()
- ShowAllTicks()
- ShowAllXGridLines()
- ShowAllYGridLines()
- ShowAnnotations()
- ShowAnnotations(boolean show)
- ShowGroupBrackets(boolean flag)
- ShowLegend(boolean show)
- ShowLinearRegression(boolean show)
- ShowMajorGridLines()
- ShowMajorXGridLines()
- ShowMajorYGridLines()
- ShowMinorGridLines()
- ShowMinorXGridLines()
- ShowMinorYGridLines()
- ShowMovableRegressionLine(boolean movable)
- ShowPatterns(boolean show)
- ShowSelectionAnnotation(Libraries.Interface.Controls.Charts.ChartItem item, text annotation, number offsetX, number offsetY)
- ShowSelectionAnnotation(Libraries.Interface.Controls.Charts.ChartItem item, number offsetX, number offsetY)
- ShowSubChartAreaBorders()
- ShowSubChartAreaBorders(boolean showSubChartAreaBorders)
- ShowSubChartAreaTitles(boolean show)
- ShowSubtitle(boolean show)
- ShowTitle(boolean show)
- ShowVisualHighlight(boolean visualHighlight)
- ShowXAxis(boolean show)
- ShowXAxisTitle(boolean show)
- ShowXLabels(boolean show)
- ShowXTicks(boolean show)
- ShowYAxis(boolean show)
- ShowYAxisLine(boolean showYAxisLine)
- ShowYAxisTitle(boolean show)
- ShowYLabels(boolean show)
- ShowYTicks(boolean show)
- UnlockRegressionYIntercepts()
- Update(number seconds)
24 actions from Libraries.Interface.Controls.Charts.ChartItem
- BeginMouseOver()
- ClickedMouse()
- DoSpecialNavigation(integer navigationType)
- EndMouseOver()
- GainedSelection()
- GetDisplayName()
- GetDownItem()
- GetEnterItem()
- GetEscapeItem()
- GetLeftItem()
- GetRightItem()
- GetUpItem()
- HasSpecialNavigation(integer navigationType)
- IsEscapingToLastItem()
- IsPassingThroughSelection()
- SetDisplayName(text info)
- SetDownItem(Libraries.Interface.Controls.Charts.ChartItem downItem)
- SetEnterItem(Libraries.Interface.Controls.Charts.ChartItem enterItem)
- SetEscapeItem(Libraries.Interface.Controls.Charts.ChartItem escapeItem)
- SetEscapeToLastItem(boolean escape)
- SetLeftItem(Libraries.Interface.Controls.Charts.ChartItem leftItem)
- SetPassThroughSelection(boolean passThroughSelection)
- SetRightItem(Libraries.Interface.Controls.Charts.ChartItem rightItem)
- SetUpItem(Libraries.Interface.Controls.Charts.ChartItem upItem)
257 actions from Libraries.Interface.Controls.Control
- Activate()
- Activate(Libraries.Interface.Events.BehaviorEvent event)
- Add(integer index, Libraries.Interface.Item2D newItem)
- Add(Libraries.Interface.Item2D newItem)
- AddControlActivationListener(Libraries.Interface.Events.ControlActivationListener listener)
- AddLayoutProperties(Libraries.Interface.Layouts.LayoutProperties properties)
- AddSelectionListener(Libraries.Interface.Events.SelectionListener listener)
- CopyAndActivateInputTable(text name)
- CreateTooltipContent()
- EmptySelectionListeners()
- GainedFocus(Libraries.Interface.Events.FocusEvent event)
- GetAccentColor()
- GetActivationBehavior()
- GetBackgroundColor()
- GetBorderColor()
- GetBorderStyle()
- GetBorderThickness()
- GetBottomLeftPixelRounding()
- GetBottomLeftRounding()
- GetBottomMargin()
- GetBottomPadding()
- GetBottomRightPixelRounding()
- GetBottomRightRounding()
- GetColorProperty(text property)
- GetContainerGridHeight()
- GetContainerGridWidth()
- GetCurrentLayoutProperties()
- GetDefaultFont()
- GetDefaultFontName()
- GetDefaultFontSize()
- GetDefaultLayoutProperties()
- GetDefaultMonospaceFontName()
- GetDefaultProportionalFontName()
- GetFocusBorderColor()
- GetFocusBorderThickness()
- GetFocusColor()
- GetFocusFontColor()
- GetFont()
- GetFontColor()
- GetFontOutlineColor()
- GetFontOutlineThickness()
- GetFontSize()
- GetForegroundColor()
- GetForegroundSelectionColor()
- GetGlowColor()
- GetGridHeight()
- GetGridWidth()
- GetGridX()
- GetGridY()
- GetHorizontalLayoutMode()
- GetIcon()
- GetIconColor()
- GetInterfaceOptionsKey()
- GetInterfaceScale()
- GetLabelText()
- GetLayout()
- GetLayoutProperties(number containerWidth, number containerHeight)
- GetLayoutProperties()
- GetLayoutRows()
- GetLeftMargin()
- GetLeftPadding()
- GetMouseDownColor()
- GetMouseDownFontColor()
- GetMouseDownGlowColor()
- GetMouseOverBorderColor()
- GetMouseOverBorderThickness()
- GetMouseOverColor()
- GetMouseOverFontColor()
- GetMouseOverGlowColor()
- GetNumberProperty(text property)
- GetPercentageHeight()
- GetPercentageOriginX()
- GetPercentageOriginY()
- GetPercentageWidth()
- GetPercentageX()
- GetPercentageY()
- GetPixelHeight()
- GetPixelWidth()
- GetPixelX()
- GetPixelY()
- GetPopupMenu()
- GetRightMargin()
- GetRightPadding()
- GetSelectionBorderColor()
- GetSelectionBorderThickness()
- GetSelectionColor()
- GetSelectionFontColor()
- GetSelectionListeners()
- GetShadowColor()
- GetShadowEdgeFade()
- GetShadowHeight()
- GetShadowWidth()
- GetShadowX()
- GetShadowY()
- GetTooltipArea()
- GetTooltipPlacement()
- GetTooltipShowDelay()
- GetTooltipText()
- GetTooltipTitle()
- GetTooltipWords()
- GetTopLeftPixelRounding()
- GetTopLeftRounding()
- GetTopMargin()
- GetTopPadding()
- GetTopRightPixelRounding()
- GetTopRightRounding()
- GetUnfocusedSelectionBorderColor()
- GetUnfocusedSelectionColor()
- GetUnfocusedSelectionFontColor()
- GetVerticalLayoutMode()
- HasBorderThickness()
- HasBottomBorder()
- HasBottomLeftPixelRounding()
- HasBottomLeftRounding()
- HasBottomRightPixelRounding()
- HasBottomRightRounding()
- HasColorPropertyOverride(text property)
- HasFocusBorderThickness()
- HasFontOutlineThickness()
- HasLeftBorder()
- HasMouseOverBorderThickness()
- HasNumberPropertyOverride(text property)
- HasRightBorder()
- HasSelectionBorderThickness()
- HasShadowEdgeFade()
- HasShadowHeight()
- HasShadowWidth()
- HasShadowX()
- HasShadowY()
- HasTooltipContent()
- HasTopBorder()
- HasTopLeftPixelRounding()
- HasTopLeftRounding()
- HasTopRightPixelRounding()
- HasTopRightRounding()
- HideTooltip()
- IsRenderingFocus()
- IsRenderingMouseDown()
- IsRenderingMouseOver()
- IsRenderingSelection()
- IsTooltipEnabled()
- IsTooltipInteractive()
- IsTooltipShowing()
- IsTooltipShownOnHover()
- IsTooltipTargetChanged()
- LostFocus(Libraries.Interface.Events.FocusEvent event)
- NeedsLayout()
- NotifyControlActivationListeners(Libraries.Interface.Events.ControlActivationEvent event)
- NotifySelectionListeners(Libraries.Interface.Events.SelectionEvent event)
- ReleasedMouse()
- Remove(Libraries.Interface.Item2D item)
- Remove(integer index)
- RemoveControlActivationListener(Libraries.Interface.Events.ControlActivationListener listener)
- RemoveLayoutProperties(Libraries.Interface.Layouts.LayoutProperties properties)
- RemoveSelectionListener(Libraries.Interface.Events.SelectionListener listener)
- RequestLayout()
- RequestReloadGraphics()
- ResetLayoutFlag()
- SelectByFirstLetters(text firstLetter)
- SetAccentColor(Libraries.Game.Graphics.ColorGroup value)
- SetBackgroundColor(Libraries.Game.Graphics.ColorGroup value)
- SetBorderColor(Libraries.Game.Graphics.ColorGroup value)
- SetBorderStyle(integer style)
- SetBorderThickness(number value)
- SetBottomLeftPixelRounding(number value)
- SetBottomLeftRounding(number value)
- SetBottomMargin(number padding)
- SetBottomPadding(number padding)
- SetBottomRightPixelRounding(number value)
- SetBottomRightRounding(number value)
- SetColorProperty(text property, Libraries.Game.Graphics.ColorGroup value)
- SetContainerGridHeight(integer containerGridHeight)
- SetContainerGridWidth(integer containerGridWidth)
- SetCornerPixelRounding(number bottomLeft, number bottomRight, number topLeft, number topRight)
- SetCornerRounding(number bottomLeft, number bottomRight, number topLeft, number topRight)
- SetFocusBorderColor(Libraries.Game.Graphics.ColorGroup value)
- SetFocusBorderThickness(number value)
- SetFocusColor(Libraries.Game.Graphics.ColorGroup value)
- SetFocusFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetFont(Libraries.Game.Graphics.Font font)
- SetFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetFontOutlineColor(Libraries.Game.Graphics.ColorGroup value)
- SetFontOutlineThickness(number value)
- SetForegroundColor(Libraries.Game.Graphics.ColorGroup value)
- SetForegroundSelectionColor(Libraries.Game.Graphics.ColorGroup value)
- SetGlowColor(Libraries.Game.Graphics.ColorGroup value)
- SetGridHeight(integer gridHeight)
- SetGridPosition(integer gridX, integer gridY)
- SetGridSize(integer gridWidth, integer gridHeight)
- SetGridWidth(integer gridWidth)
- SetGridX(integer gridX)
- SetGridY(integer gridY)
- SetHorizontalLayoutMode(integer mode)
- SetIcon(Libraries.Game.Graphics.TextureRegion icon)
- SetIconColor(Libraries.Game.Graphics.ColorGroup value)
- SetInterfaceOptionsKey(text key)
- SetInterfaceScale(number scale)
- SetLabelText(text labelText)
- SetLayout(Libraries.Interface.Layouts.Layout layout)
- SetLayoutRows(number layoutRows)
- SetLeftMargin(number padding)
- SetLeftPadding(number padding)
- SetMouseDownColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseDownFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseDownGlowColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseOverBorderColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseOverBorderThickness(number value)
- SetMouseOverColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseOverFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetMouseOverGlowColor(Libraries.Game.Graphics.ColorGroup value)
- SetNumberProperty(text property, number value)
- SetPercentageHeight(number height)
- SetPercentageOriginX(number x)
- SetPercentageOriginY(number y)
- SetPercentageWidth(number width)
- SetPercentageX(number x)
- SetPercentageY(number y)
- SetPixelHeight(number height)
- SetPixelWidth(number width)
- SetPixelX(number x)
- SetPixelY(number y)
- SetPopupMenu(Libraries.Interface.Controls.PopupMenu menu)
- SetRightMargin(number padding)
- SetRightPadding(number padding)
- SetSelectionBorderColor(Libraries.Game.Graphics.ColorGroup value)
- SetSelectionBorderThickness(number value)
- SetSelectionColor(Libraries.Game.Graphics.ColorGroup value)
- SetSelectionFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetShadowColor(Libraries.Game.Graphics.ColorGroup value)
- SetShadowEdgeFade(number value)
- SetShadowHeight(number value)
- SetShadowWidth(number value)
- SetShadowX(number value)
- SetShadowY(number value)
- SetToDefaultFontSize()
- SetToHugeFont()
- SetToLargeFont()
- SetToMediumFont()
- SetToSmallFont()
- SetToTinyFont()
- SetTooltipEnabled(boolean enabled)
- SetTooltipText(text value)
- SetTooltipTitle(text value)
- SetTopLeftPixelRounding(number value)
- SetTopLeftRounding(number value)
- SetTopMargin(number padding)
- SetTopPadding(number padding)
- SetTopRightPixelRounding(number value)
- SetTopRightRounding(number value)
- SetUnfocusedSelectionBorderColor(Libraries.Game.Graphics.ColorGroup value)
- SetUnfocusedSelectionColor(Libraries.Game.Graphics.ColorGroup value)
- SetUnfocusedSelectionFontColor(Libraries.Game.Graphics.ColorGroup value)
- SetVerticalLayoutMode(integer mode)
- ShowTooltip()
- TooltipHidden()
- TooltipShown()
- UpdateAll(number seconds)
59 actions from Libraries.Interface.Item
- AddBehavior(Libraries.Interface.Behaviors.Behavior behavior)
- AddFocusListener(Libraries.Interface.Events.FocusListener listener)
- AddGestureListener(Libraries.Interface.Events.GestureListener listener)
- AddMouseListener(Libraries.Interface.Events.MouseListener listener)
- AddMouseMovementListener(Libraries.Interface.Events.MouseMovementListener listener)
- AddMouseWheelListener(Libraries.Interface.Events.MouseWheelListener listener)
- AddTouchListener(Libraries.Interface.Events.TouchListener listener)
- BeginCollision(Libraries.Interface.Item item)
- CancelBehaviors()
- Dispose()
- DisposeAll()
- DisposeChildren()
- EmptyAll()
- EmptyChildren()
- FinishCollision(Libraries.Interface.Item item)
- Focus()
- GetAccessibilityCode()
- GetAccessibilityRoleDescription()
- GetAccessibilityType()
- GetActiveDescendant()
- GetDescription()
- GetFocusListeners()
- GetGestureListeners()
- GetInputGroup()
- GetInputTable()
- GetMouseListeners()
- GetMouseMovementListeners()
- GetMouseWheelListeners()
- GetName()
- GetNextFocus()
- GetPreviousFocus()
- GetPropertiesSize()
- GetProperty(text key)
- GetPropertyKeyIterator()
- GetTouchListeners()
- HasProperties()
- HasProperty(text key)
- Hide()
- IsAcceptingMouseInput()
- IsFocusable()
- IsFocused()
- IsShowing()
- RemoveFocusListener(Libraries.Interface.Events.FocusListener listener)
- RemoveGestureListener(Libraries.Interface.Events.GestureListener listener)
- RemoveMouseListener(Libraries.Interface.Events.MouseListener listener)
- RemoveMouseMovementListener(Libraries.Interface.Events.MouseMovementListener listener)
- RemoveMouseWheelListener(Libraries.Interface.Events.MouseWheelListener listener)
- RemoveTouchListener(Libraries.Interface.Events.TouchListener listener)
- SetAcceptsMouseInput(boolean accepts)
- SetAccessibilityCode(integer newAccessibilityCode)
- SetAccessibilityRoleDescription(text newRoleDescription)
- SetDescription(text newDescription)
- SetFocusable(boolean focus)
- SetInputGroup(text group)
- SetName(text newName)
- SetNextFocus(Libraries.Interface.Item next)
- SetPreviousFocus(Libraries.Interface.Item previous)
- SetProperty(text key, Libraries.Data.Formats.JavaScriptObjectNotation value)
- Show()
201 actions from Libraries.Interface.Item2D
- Advance(number time)
- ApplyAngularImpulse(number impulse)
- ApplyForce(Libraries.Compute.Vector2 force, Libraries.Compute.Vector2 point)
- ApplyForceToCenter(Libraries.Compute.Vector2 force)
- ApplyLinearImpulse(Libraries.Compute.Vector2 impulse, Libraries.Compute.Vector2 point)
- ApplyTorque(number torque)
- AreChildrenProcessingMouseEvents()
- CanRotate(boolean flag)
- CollideWithChildren()
- ComputeDistance(Libraries.Compute.Vector2 point, integer childIndex, Libraries.Compute.Vector2 normalOut)
- Contains(number containsX, number containsY)
- CreateNodes(Libraries.Game.Collision.BroadphaseCollision2D broadphase, Libraries.Game.Collision.PhysicsPosition2D transform)
- DestroyNodes(Libraries.Game.Collision.BroadphaseCollision2D broadphase)
- Draw(Libraries.Game.Graphics.Painter2D painter)
- Empty()
- EnablePhysics(boolean flag)
- FastMoving(boolean flag)
- FlipX()
- FlipY()
- GetAccessibleParent()
- GetAngularDamping()
- GetAngularVelocity()
- GetBoundingBox(integer childIndex)
- GetBoundingRectangle()
- GetCenterX()
- GetCenterY()
- GetChildren()
- GetClipCoordinates(Libraries.Compute.Vector2 xCoords, Libraries.Compute.Vector2 yCoords)
- GetCollisionGroupFlag()
- GetCollisionGroupIndex()
- GetCollisionList()
- GetDensity()
- GetDrawableShape()
- GetForce()
- GetFriction()
- GetGlobalX()
- GetGlobalY()
- GetGlobalZ()
- GetHeight()
- GetInertia()
- GetInverseInertia()
- GetInverseMass()
- GetItem(integer index)
- GetItemAt(number x, number y)
- GetItemCount()
- GetItems()
- GetJointList()
- GetLayer()
- GetLinearDamping()
- GetLinearVelocity()
- GetLinearVelocityFromLocalPoint(Libraries.Compute.Vector2 localPoint)
- GetLinearVelocityFromWorldPoint(Libraries.Compute.Vector2 worldPoint)
- GetLocalCenter()
- GetLocalPoint(Libraries.Compute.Vector2 worldPoint)
- GetLocalVector(Libraries.Compute.Vector2 worldVector)
- GetMass()
- GetMass(Libraries.Game.Physics.Mass2D mass)
- GetNodeCount()
- GetNodes()
- GetOffsetX()
- GetOffsetY()
- GetOffsetZ()
- GetOriginX()
- GetOriginY()
- GetParent()
- GetPhysicsProperties()
- GetRawInertia()
- GetResponsiveness()
- GetRestitution()
- GetRotation()
- GetRotationInRadians()
- GetScaleX()
- GetScaleY()
- GetScreenX()
- GetScreenY()
- GetShape()
- GetShapeType()
- GetSleepTime()
- GetSweep()
- GetTorque()
- GetTransform()
- GetTransform0()
- GetView2D()
- GetVisibleItemAt(number x, number y)
- GetWidth()
- GetWorldCenter()
- GetWorldPoint(Libraries.Compute.Vector2 localPoint)
- GetWorldVector(Libraries.Compute.Vector2 localVector)
- GetX()
- GetY()
- GetZ()
- HasMoved()
- IsClipping()
- IsCollidable()
- IsCustomDrawing()
- IsEmpty()
- IsFastMoving()
- IsFlippedX()
- IsFlippedY()
- IsNonResponsive()
- IsOnLayer()
- IsPhysicsEnabled()
- IsResponsive()
- IsRotationAllowed()
- IsSimulated()
- IsSimulationRequired()
- IsUnmovable()
- Move(Libraries.Compute.Vector2 movement)
- Move(number xAmount, number yAmount)
- MoveX(number xAmount)
- MoveY(number yAmount)
- MoveZ(number zAmount)
- PrepareVertices()
- ProcessGestureEvent(Libraries.Interface.Events.GestureEvent event)
- ProcessMouseEvent(Libraries.Interface.Events.MouseEvent event)
- ProcessTouchEvent(Libraries.Interface.Events.TouchEvent event)
- QueueForDrawing(Libraries.Game.Graphics.Painter2D painter)
- RequestVerticesUpdate()
- RequireSimulation(boolean flag)
- ResetMass()
- Rotate(number degrees)
- Scale(number xAmount, number yAmount)
- Scale(number amount)
- ScaleFromCenter(number amount)
- ScaleFromCenter(number xAmount, number yAmount)
- SetAngularDamping(number angularDamping)
- SetAngularVelocity(number angularVelocity)
- SetBoundingBox(number newX, number newY, number newWidth, number newHeight)
- SetCenter(number setX, number setY)
- SetCenterX(number setX)
- SetCenterY(number setY)
- SetChildrenProcessingMouseEvents(boolean shouldProcess)
- SetClipCoordinates(Libraries.Game.Graphics.Painter2D painter)
- SetClipping(boolean clip)
- SetCollidable(boolean flag)
- SetCollideWithChildren(boolean flag)
- SetCollisionGroupFlag(boolean flag)
- SetCollisionGroupIndex(integer index)
- SetCollisionList(Libraries.Game.Collision.CollisionEdge2D edge)
- SetCustomDrawing(boolean isCustom)
- SetDensity(number density)
- SetFlipX(boolean flip)
- SetFlipY(boolean flip)
- SetForce(Libraries.Compute.Vector2 force)
- SetFriction(number friction)
- SetHasMoved(boolean flag)
- SetHeight(number newHeight)
- SetItem(integer index, Libraries.Interface.Item2D newItem)
- SetJointList(Libraries.Game.Physics.Joints.JointEdge2D edge)
- SetLayer(Libraries.Game.Layer2D parentLayer)
- SetLinearDamping(number linearDamping)
- SetLinearVelocity(Libraries.Compute.Vector2 linearVelocity)
- SetLinearVelocityX(number linearVelocityX)
- SetLinearVelocityY(number linearVelocityY)
- SetMass(number mass)
- SetMass(Libraries.Game.Physics.Mass2D mass)
- SetNonResponsive()
- SetOffset(number xAmount, number yAmount)
- SetOffset(number xAmount, number yAmount, number zAmount)
- SetOffsetX(number xAmount)
- SetOffsetY(number yAmount)
- SetOffsetZ(number zAmount)
- SetOrigin(number setX, number setY)
- SetOriginCenter()
- SetParent(Libraries.Interface.Item2D newItem)
- SetPhysicsProperties(Libraries.Game.Physics.PhysicsProperties2D properties)
- SetPosition(number setX, number setY)
- SetPosition(number setX, number setY, number setZ)
- SetResponsive()
- SetResponsiveness(integer type)
- SetRestitution(number restitution)
- SetRotation(number degrees)
- SetScale(number scale)
- SetScale(number newX, number newY)
- SetScaleFromCenter(number newX, number newY)
- SetScaleFromCenter(number scale)
- SetScaleX(number scaleX)
- SetScaleY(number scaleY)
- SetScreenPositionFromPhysicsPosition()
- SetShape(Libraries.Game.Collision.Shapes.CollisionShape2D shape)
- SetSize(number newWidth, number newHeight)
- SetSleepTime(number time)
- SetTorque(number torque)
- SetTransform(Libraries.Compute.Vector2 position, number angle)
- SetTransform(Libraries.Game.Collision.PhysicsPosition2D transform)
- SetTransform0(Libraries.Game.Collision.PhysicsPosition2D transform)
- SetUnmovable()
- SetUpdateTransform(boolean flag)
- SetView2D(Libraries.Interface.Views.View2D content)
- SetWidth(number newWidth)
- SetX(number setX)
- SetY(number setY)
- SetZ(number setZ)
- ShouldCollide(Libraries.Interface.Item2D otherItem)
- Simulate(boolean flag)
- SynchronizeNodes()
- SynchronizeTransform()
- TestPoint(Libraries.Compute.Vector2 point)
- UpdateTransformAngle()
- UpdateTransformX()
- UpdateTransformY()