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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |