Class RepeatImageElement

java.lang.Object
org.openstreetmap.josm.gui.mappaint.styleelement.StyleElement
org.openstreetmap.josm.gui.mappaint.styleelement.RepeatImageElement
All Implemented Interfaces:
StyleKeys

public class RepeatImageElement extends StyleElement
Style element that displays a repeated image pattern along a way.
  • Field Details

  • Constructor Details

    • RepeatImageElement

      public RepeatImageElement(Cascade c, MapImage pattern, float offset, float spacing, float phase, float opacity, RepeatImageElement.LineImageAlignment align)
      Create a new image element
      Parameters:
      c - The cascade
      pattern - The image to draw on the line repeatedly
      offset - The offset to the side of the way
      spacing - The space between the images
      phase - The offset of the first image along the way
      opacity - The opacity
      align - The alignment of the image
  • Method Details