Skip to content

LocalizedImageProperty

Overview

A Property whose value will change with the "region and culture", and will take a value that can be used with Images.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class LocalizedImageProperty

import { LocalizedImageProperty } from 'scenerystack/joist';

Constructor

new LocalizedImageProperty( imageName : string, imageMap : Partial<Record<ConcreteRegionAndCulture, ImageableImage>> & { usa: ImageableImage } )

Instance Methods

Source Code

See the source for LocalizedImageProperty.ts in the joist repository.