Package | Description |
---|---|
heronarts.lx |
Core LX engine and component functionality.
|
Modifier and Type | Method and Description |
---|---|
static LX.Media |
LX.Media.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LX.Media[] |
LX.Media.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
File |
LX.getMediaFile(LX.Media type,
String path)
Retrieves a file handle to a file that can be saved.
|
File |
LX.getMediaFile(LX.Media type,
String path,
boolean create)
Retrieves a file handle to a file that can be saved.
|
File |
LX.getMediaFolder(LX.Media type)
Retrieves a file handle to the folder used to store the given type of media
|
File |
LX.getMediaFolder(LX.Media type,
boolean create)
Retrieves a file handle to the folder used to store the given type of media
|
String |
LX.getMediaPath(LX.Media type,
File file)
Gets the path to a file relative to a base media path.
|
LX library by Mark C. Slee. © 2012-2020