Class StyleSampleProducerBean

java.lang.Object
com.kheops.jmap.server.webadmin.faces.AbstractAdminFacesBean
com.kheops.jmap.server.webadmin.faces.StyleSampleProducerBean

public class StyleSampleProducerBean extends AbstractAdminFacesBean
  • Constructor Details

    • StyleSampleProducerBean

      public StyleSampleProducerBean()
  • Method Details

    • getStyleSample

      public org.primefaces.model.StreamedContent getStyleSample()
      Generate a style sample from style attributes.

      Parameters: styleTemplateId

      elementType (default 0 -> POINT) width (default 30 pixels) height (default 30 pixels)

      lineThickness (default 1) borderThickness (default 1) useAntialiasing (default false) arrowType (default 0 -> NONE) arrowPosition (default 50) transparency (default 0) lineColor (default -> BLACK) borderColor (default -> BLACK) fillColor (default -> 0xFF499DFF) strokeId borderStrokeId fontName fontSize (default 11) fontStyle (default 0) textColor (default -> BLACK) outlineColor (default -> WHITE) frameColor (default -> 0xFF499DFF) patternColor (default -> 0xFF000000) drawFrame (default false) symbolUnderLabel (default false) transparentFill (default false) transparentPatternFill (default false) selectionStyle (default false) iconImagePath symbol (default false) pattern (default false) symbolScale (default 1) symbolRotation (default 0) symbolOffsetX (default 0) symbolOffsetY (default 0)

    • setStyleSample

      public void setStyleSample(org.primefaces.model.StreamedContent styleSample)
    • getLayerStyleSample

      public org.primefaces.model.StreamedContent getLayerStyleSample()
      Generate a style sample for a specific layer in a project.

      Parameters: projectId layerId scale (default 0.0) width (default 20 pixels) height (default 20 pixels) selection (default false)