package org.simantics.district.network.ui.nodes; import java.awt.RenderingHints.Key; import org.simantics.scenegraph.g2d.G2DRenderingHints; /** * @author Tuukka Lehtonen * See {@link G2DRenderingHints} */ public final class DistrictRenderingHints { public static final Key KEY_VIEW_SCALE_UNDER_SPATIAL_ROOT = new Key(3001) { @Override public boolean isCompatibleValue(Object val) { return val instanceof Double; } }; public static final Key KEY_VIEW_SCALE_RECIPROCAL_UNDER_SPATIAL_ROOT = new Key(3002) { @Override public boolean isCompatibleValue(Object val) { return val instanceof Double; } }; public static final Key KEY_VIEW_ZOOM_LEVEL = new Key(3003) { @Override public boolean isCompatibleValue(Object val) { return val instanceof Integer; } }; }