Class EditedMarkStyle
java.lang.Object
repast.simphony.visualization.gis3D.style.EditedMarkStyle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImagecreateShapeImage(Shape shape, Dimension size, Color color) doublegetElevation(Object obj) Get the mark elevation in meters.doublegetHeading(Object obj) gov.nasa.worldwind.render.OffsetgetIconOffset(Object obj) Return an Offset that determines the icon position relative to the mark position.The agent on-screen label.getLabelColor(Object obj) The mark label color.getLabelFont(Object obj) The mark label font.gov.nasa.worldwind.render.OffsetgetLabelOffset(Object obj) Return an Offset that determines the label position relative to the mark position.gov.nasa.worldwind.render.MaterialgetLineMaterial(Object obj, gov.nasa.worldwind.render.Material lineMaterial) The material (color) of the line.doublegetLineWidth(Object obj) Width of the line that connects an elevated mark with the surface.getPlaceMark(Object object, PlaceMark mark) The PlaceMark is a WWJ PointPlacemark implementation with a different texture handling mechanism.doubleScale factor for the mark size.gov.nasa.worldwind.render.WWTexturegetTexture(Object object, gov.nasa.worldwind.render.WWTexture texture) Get the WWTexture that will be applied to the PlaceMark.
-
Field Details
-
texture
protected gov.nasa.worldwind.render.BasicWWTexture texture
-
-
Constructor Details
-
EditedMarkStyle
-
-
Method Details
-
getTexture
public gov.nasa.worldwind.render.WWTexture getTexture(Object object, gov.nasa.worldwind.render.WWTexture texture) Description copied from interface:MarkStyleGet the WWTexture that will be applied to the PlaceMark.- Specified by:
getTexturein interfaceMarkStyle- Returns:
-
getPlaceMark
Description copied from interface:MarkStyleThe PlaceMark is a WWJ PointPlacemark implementation with a different texture handling mechanism. All other standard WWJ PointPlacemark attributes can be changed here. PointPlacemark label attributes could be set here, but are also available through the MarkStyle interface.- Specified by:
getPlaceMarkin interfaceMarkStyle- Returns:
- See Also:
-
for more info.
-
getIconOffset
Description copied from interface:MarkStyleReturn an Offset that determines the icon position relative to the mark position. @see gov.nasa.worldwind.render.Offset The gov.nasa.worldwind.render.Offset is used to position the icon from the mark point location. If no offset is provided, the lower left corner of the icon is located at the point (lat lon) position. Using values of (0.5,0.5) will position the icon center over the lat lon location. The first two arguments in the Offset constructor are the x and y offset values. The third and fourth arguments are the x and y units for the offset. AVKey.FRACTION represents units of the image texture size, with 1.0 being one image width/height. AVKey.PIXELS can be used to specify the offset in pixels.- Specified by:
getIconOffsetin interfaceMarkStyle- Returns:
-
getElevation
Description copied from interface:MarkStyleGet the mark elevation in meters. The elevation is used to visually offset the mark from the surface and is not an inherent property of the agent's location in the geography.- Specified by:
getElevationin interfaceMarkStyle- Returns:
-
getScale
Description copied from interface:MarkStyleScale factor for the mark size. -
getHeading
- Specified by:
getHeadingin interfaceMarkStyle
-
getLabel
Description copied from interface:MarkStyleThe agent on-screen label. Return null instead of empty string "" for better performance. -
getLabelColor
Description copied from interface:MarkStyleThe mark label color.- Specified by:
getLabelColorin interfaceMarkStyle- Returns:
-
getLabelFont
Description copied from interface:MarkStyleThe mark label font.- Specified by:
getLabelFontin interfaceMarkStyle- Returns:
-
getLabelOffset
Description copied from interface:MarkStyleReturn an Offset that determines the label position relative to the mark position. @see gov.nasa.worldwind.render.Offset The gov.nasa.worldwind.render.Offset is used to position the label from the mark point location. The first two arguments in the Offset constructor are the x and y offset values. The third and fourth arguments are the x and y units for the offset. AVKey.FRACTION represents units of the image texture size, with 1.0 being one image width/height. AVKey.PIXELS can be used to specify the offset in pixels.- Specified by:
getLabelOffsetin interfaceMarkStyle- Returns:
-
getLineWidth
Description copied from interface:MarkStyleWidth of the line that connects an elevated mark with the surface. Use a value of 0 to disable line drawing.- Specified by:
getLineWidthin interfaceMarkStyle- Returns:
-
getLineMaterial
public gov.nasa.worldwind.render.Material getLineMaterial(Object obj, gov.nasa.worldwind.render.Material lineMaterial) Description copied from interface:MarkStyleThe material (color) of the line.- Specified by:
getLineMaterialin interfaceMarkStyle- Returns:
-
createShapeImage
-