Class DynamicPolygonStyle2D

  • All Implemented Interfaces:
    Cloneable

    public class DynamicPolygonStyle2D
    extends PolygonStyle2D
    A dynamic polygon style, that will compute its parameters each time they are requested instead of caching them
    Author:
    jamesm
    • Constructor Detail

    • Method Detail

      • getFill

        public Paint getFill()
        Computes and returns the fill based on the feature and the symbolizer
        Overrides:
        getFill in class PolygonStyle2D
        Returns:
        the current fill or null if none
      • getFillComposite

        public Composite getFillComposite()
        Computes and returns the fill composite based on the feature and the symbolizer
        Overrides:
        getFillComposite in class PolygonStyle2D
        Returns:
        the current fill composite or null if none