 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.mapviewsettings;
23 import org.jetbrains.annotations.NotNull;
void setTileStretching(boolean tileStretching)
Sets the tile-stretching setting.
boolean isSmoothing()
Returns the smoothing setting.
Base package of all Gridarta classes.
void setDoubleFaces(boolean doubleFaces)
Sets whether double faces should be drawn double height.
int getEditType()
Returns the currently set edit type.
boolean isLightVisible()
Get the visibility of the light.
void clearAlpha()
Clear the transparency.
boolean isGridVisible()
Get the visibility of the grid.
boolean isAlphaType(int v)
Returns whether the specified edit type is to be shown transparent.
boolean isTileStretching()
Returns the tile-stretching setting.
void addMapViewSettingsListener(@NotNull MapViewSettingsListener listener)
Register a MapViewSettingsListener.
void setGridVisible(boolean gridVisible)
Set the visibility of the grid.
boolean isAutojoin()
Returns whether "autojoin" is enabled.
Container for settings that affect the rendering of maps.
void setAutojoin(boolean autojoin)
Sets the "autojoin" state.
void removeMapViewSettingsListener(@NotNull MapViewSettingsListener listener)
Unregister a MapViewSettingsListener.
boolean isEditType(int editType)
Get information on the current state of edit type.
void unsetEditType(int editType)
Set the map view to hide squares of the given type.
void setSmoothing(boolean smoothing)
Sets the smoothing setting.
boolean isDoubleFaces()
Get whether double faces are drawn double height.
void setLightVisible(boolean lightVisible)
Set the visibility of the light.
Interface for event listeners that are interested in changes on {}.
void toggleEditType(int editType)
Toggle an edit type.
boolean isEditTypeSet()
Returns whether a editType value is set so that not all squares are displayed.
void setAlphaType(int v, boolean state)
Sets whether the specified edit type is to be shown transparent.