![]() ![]() The relative size is determined by the currentĬompass-to-viewport scale and by the icon's image file size scaled by the current icon scale. Size decreases if it expands then the icon file enlarges. Icon is resized to have a constant size relative to the current viewport size. If the value is AVKey.RESIZE_STRETCH, the Specified in its image file scaled by the layer's current icon scale. If the value is AVKey.RESIZE_KEEP_FIXED_SIZE, the icon size is kept to the size getCompassToViewportScale public double getCompassToViewportScale().getBorderWidth public int getBorderWidth().draw protected void draw( DrawContext dc).doRender protected void doRender( DrawContext dc) Specified by: doRender in class AbstractLayer.Point pickPoint) Overrides: doPick in class AbstractLayer doPick protected void doPick( DrawContext dc,.computeScale protected double computeScale( Rectangle viewport).computePitch protected double computePitch( View view).computeLocation protected Vec4 computeLocation( Rectangle viewport,.computeHeading protected double computeHeading( View view).CompassLayer public CompassLayer( String iconFilePath).resizeBehavior protected String resizeBehavior.pickSupport protected PickSupport pickSupport.orderedImage protected CompassLayer.OrderedIcon orderedImage.locationOffset protected Vec4 locationOffset.locationCenter protected Vec4 locationCenter.iconFilePath protected String iconFilePath.frameStampForPicking protected long frameStampForPicking.frameStampForDrawing protected long frameStampForDrawing.compassToViewportScale protected double compassToViewportScale.Methods inherited from interface java.beans.AVList addPropert圜hangeListener, addPropert圜hangeListener, clearList, copy, firePropert圜hange, firePropert圜hange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropert圜hangeListener, removePropert圜hangeListener, setValue, setValues Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait Methods inherited from class java.lang.AVListImpl addPropert圜hangeListener, addPropert圜hangeListener, clearList, copy, firePropert圜hange, firePropert圜hange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropert圜hangeListener, removePropert圜hangeListener, setValue, setValues AbstractLayer createLayerConfigElements, dispose, doPreRender, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMa圎ffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getOpacity, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit Sets the behavior the layer uses to size the compass icon when the viewport size changes, typically when the Method Summary All Methods Instance Methods Concrete Methods Modifier and Type.Constructor Summary Constructors Constructor and Description.Nested Class Summary Nested Classes Modifier and Type. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |