Class Marker

    • Constructor Detail

      • Marker

        public Marker()
    • Method Detail

      • clearAll

        public void clearAll()
        Description copied from class: AbstractGameComponent
        Set all game component data to a neutral, blank state. Marks all sheets as changed, as well as marking the component unsaved. Sets this component's content to an empty state. Typically, this is called from an editor when the user wishes to erase their work and start over.

        The base class implementation will clear the name and comments, mark the sheets changed, clear any set expansion, and mark the component unsaved.

        Specified by:
        clearAll in interface GameComponent
        Overrides:
        clearAll in class AbstractGameComponent
      • installDefaultPortrait

        protected void installDefaultPortrait​(boolean front)
      • getStencil

        public java.awt.image.BufferedImage getStencil()
      • getStencilKey

        public java.lang.String getStencilKey()
      • getBleedMargin

        public double getBleedMargin()
        Returns the bleed margin for this marker, which is determined by the current silhouette.
        Returns:
        the current bleed margin
      • setSilhouette

        public void setSilhouette​(Silhouette sil)
      • getFrontText

        public java.lang.String getFrontText()
      • setFrontText

        public void setFrontText​(java.lang.String frontText)
      • getBackText

        public java.lang.String getBackText()
      • setBackText

        public void setBackText​(java.lang.String backText)
      • getPortraitCount

        public int getPortraitCount()
      • getPortrait

        public Portrait getPortrait​(int index)