ScreenIcon¶
Overview¶
ScreenIcon is an icon that is suitable for one of the screen-selection buttons on the home screen or navigation bar. By default, the size is optimized for the home screen. To optimize for the navigation bar, use options.size: Screen.MINIMUM_NAVBAR_ICON_SIZE
@author Chris Malley (PixelZoom, Inc.)
Class ScreenIcon¶
Constructor¶
new ScreenIcon( iconNode : Node, providedOptions? : ScreenIconOptions )¶
Instance Methods¶
dispose()¶
Type ScreenIconOptions¶
- size?: Dimension2
- maxIconWidthProportion?: number
- maxIconHeightProportion?: number
- fill?: TColor
- stroke?: TColor
- & StrictOmit<NodeOptions, "children">
Source Code¶
See the source for ScreenIcon.ts in the joist repository.