Skip to content
dill pixel
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Getting Started
Introduction
Quick Start
Guides
Creating a Game
Project Setup
Examples
Fundamentals
Overview
Assets
Actions
Scenes
Data
Copy and Content
Audio
Animation
Animated Sprite
Spine
UI
Text
Layout
Popups
Physics
Overview
Snap Physics Plugin
Matter Physics Plugin
Accessibility
Overview
Focus Management
Voiceover
Captions
API
Enumerations
InputControllerTypes
JoystickDirection
Classes
ActionsPlugin
AnimatedSprite
Application
AssetsPlugin
AudioChannel
AudioInstance
AudioManagerPlugin
Button
Camera
CameraController
Color
Container
Controls
DataAdapter
FlexContainer
FocusManagerPlugin
FocusOutliner
i18nPlugin
Input
InputPlugin
Joystick
KeyboardControls
KeyboardPlugin
Logger
ParticleContainer
Plugin
Popup
PopupManagerPlugin
Queue
ResizerPlugin
Scene
SceneManagerPlugin
SceneTransition
Signal
Spine
SpineAnimation
StorageAdapter
Store
Svg
TouchControls
UICanvas
WebEventsPlugin
Interfaces
AbstractProps
ActionDefinition
AnimatedSpriteAnimationProps
AnimatedSpriteProps
ContainerProps
ControlsAction
ControlScheme
ControlsStructure
DataChangeSignalDetail
ExistingProps
FlexContainerConfig
FlexContainerProps
GraphicsProps
GSAPAnimationConfigExtended
HTMLTextProps
IActionsPlugin
IActionsPluginOptions
IAnimated
IApplication
IApplicationOptions
IAssetsPlugin
IAudioChannel
IAudioInstance
IAudioManagerPlugin
IButton
ICamera
IContainer
IControls
ICoreFunctions
ICoreSignals
IDataAdapter
IDataAdapterOptions
IFactory
IFlexContainer
IFocusable
IFocusLayer
IFocusManagerPlugin
IFocusOutliner
IGamepadControlScheme
Ii18nPlugin
IInputPlugin
IInteractive
IJoystick
IKeyboardControlScheme
IKeyboardPlugin
InputOptions
InputProps
IParticleContainer
IPlugin
IPopup
IPopupManagerPlugin
IResizerPlugin
IScene
ISceneManagerPlugin
ISceneTransition
ISignalContainer
ISpineAnimation
IStorageAdapter
IStore
ITouchControlScheme
IWebEventsPlugin
JoystickSettings
JoystickSignalDetail
KeyboardControlsAction
OmittedTextProps
ParticleContainerConfig
ParticleContainerProps
PivotProps
PluginListItem
PositionProps
ScaleProps
SceneListItem
SpineProps
SpriteProps
StorageAdapterListItem
SvgProps
TextProps
TextureProps
TouchControlsAction
UICanvasChildProps
UICanvasChildSettings
UICanvasFactoryProps
UserControls
VisibilityProps
Type Aliases
AbstractControlScheme
Action
ActionContext
ActionDetail
ActionKey
ActionMap
ActionSignal
ActionsList
AlignItems
AppConfig
AppSize
AssetExtension
AssetLike
AssetLoadingOptions
AssetTypes
BackgroundConfig
BackingConfig
BgStyleOptions
BundleTypes
ButtonAction
ButtonActionOrCallback
ButtonCallback
ButtonConfig
ButtonProps
ChannelMutedDetail
ChannelName
ChannelVolumeDetail
ColorOptions
Constructor
ContainerConfig
ContainerLike
ControlsActionMap
DataSchema
EaseString
ExtractButtonId
ExtractContext
FlexDirection
FlexWrap
FocusChangeDetail
FocusManagerPluginOptions
FocusOutlinerConfig
FocusOverlayOptions
i18nDict
i18nOptions
i18nTParams
ImportList
ImportListItem
ImportListItemModule
InputController
InputDetail
InputManagerOptions
InteractionSignal
JoystickControlsScheme
JoystickDirectionType
JoystickInput
JustifyContent
KeyboardControlsActionMap
KeyboardControlsMap
KeyboardControlsScheme
KeyboardEventDetail
KeyboardEventType
KeyboardKey
KeyboardSchemaKey
KeySignal
LoadSceneConfig
LoadSceneMethod
LoggerMode
Padding
PixiShape
PixiSimpleShape
PlaceholderOptions
PluginOrAdapterConfig
PointLike
PointLikeResult
PopupConfig
PopupConstructor
PopupSignalDetail
RectLike
ResizerPluginOptions
SceneAssets
SceneImportList
SceneImportListItem
Size
SizeLike
SoundDetail
SplashHideWhen
SplashOptions
SplashZOrder
SpriteSheetLike
TextureLike
TouchControlsMap
TouchControlsScheme
UICanvasConfig
UICanvasEdge
UICanvasProps
UserActions
UserButton
UserButtons
UserContexts
WithPointLike
WithRequiredProps
Variables
ButtonConfigKeys
ContainerConfigKeys
coreFunctionRegistry
coreSignalRegistry
DefaultActionContexts
DefaultActionContextsArray
DefaultActions
defaultActionsList
DefaultButtonIds
defaultFactoryMethods
env
FlexContainerConfigKeys
isAndroid
isDev
isIos
isMobile
isProduction
isRetina
isTouch
JOYSTICK_DIRECTIONS
ParticleContainerConfigKeys
pixiVersion
TextPropsKeys
UICanvasConfigKeys
version
Functions
add
addToPoint
Animated
bindAllMethods
bindMethods
bool
capitalize
capitalizeWords
center
checkAndInvokeMethod
clamp
create
createContainer
createFactoryMethods
createQueue
debounce
defineActions
defineButtons
defineConfig
defineContexts
defineControls
delay
destroyCanvas
distance
distanceSq
ensurePadding
Factory
filterSet
firstFromSet
floatBetween
floatBetweenPoint
Focusable
generateAdapterList
generatePluginList
getDynamicModuleFromImportListItem
getFirstMapEntry
getLastMapEntry
getNearestCharacterIndex
getNextMapEntry
getPreviousMapEntry
getRandomElement
getZeroPaddedNumber
intBetween
intBetweenPoint
Interactive
isPromise
lastFromSet
lerp
lerpPoint
magnitude
multiply
normalizeKey
objectDiagonal
offset
offsetShape
offsetSimpleShape
omitKeys
pluck
reParent
resolveAnchor
resolvePadding
resolvePivot
resolvePointLike
resolvePosition
resolveScale
resolveSizeLike
resolveTexture
resolveUnknownKeys
sayHello
scale
scaleToHeight
scaleToSize
scaleToWidth
scaleUniform
sendToBack
sendToFront
shuffle
size
subtract
subtractFromPoint
toHex
toRgb
wait
WithSignals
GitHub
Select theme
Dark
Light
Auto
resolveSizeLike
resolveSizeLike
(
size
?):
Size
Defined in:
utils/misc.ts:4
Parameters
size?
SizeLike
Returns
Size