Class LogoFilter

All Implemented Interfaces:
Serializable, Cloneable, Aligneable, Bounded, HasUserInterface, JAlbumFilter, JAFilter

public class LogoFilter extends AbstractFilter implements Aligneable, Bounded
Title: JAlbum text image filter Company: JAlbum AB
See Also:
  • Constructor Details

    • LogoFilter

      public LogoFilter()
    • LogoFilter

      public LogoFilter(boolean closeups, boolean thumbnails)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface JAFilter
    • getIcon

      public ImageIcon getIcon()
      Specified by:
      getIcon in interface JAlbumFilter
      Overrides:
      getIcon in class AbstractFilter
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface JAFilter
    • filter

      public BufferedImage filter(BufferedImage bi, Map vars)
      Specified by:
      filter in interface JAFilter
    • setSrc

      public void setSrc(String imageURL)
    • setSrc

      public void setSrc(ImageIcon logo)
    • getSrc

      public String getSrc()
    • setTile

      public void setTile(boolean tile)
    • isTile

      public boolean isTile()
    • getRowOffsetPercent

      public int getRowOffsetPercent()
    • setRowOffsetPercent

      public void setRowOffsetPercent(int rowOffsetPercent)
    • setAngle

      public void setAngle(int newAngle)
    • getAngle

      public int getAngle()
    • getStrengthPercent

      public int getStrengthPercent()
    • setStrengthPercent

      public void setStrengthPercent(int strengthPercent)
    • getScalePercent

      public int getScalePercent()
    • setScalePercent

      public void setScalePercent(int scalePercent)
    • setMargin

      public void setMargin(int newMargin)
    • getMargin

      public int getMargin()
    • setAlign

      public void setAlign(Alignment newAlign)
      Specified by:
      setAlign in interface Aligneable
    • getAlign

      public Alignment getAlign()
      Specified by:
      getAlign in interface Aligneable
    • setValign

      public void setValign(VerticalAlignment newValign)
      Specified by:
      setValign in interface Aligneable
    • getValign

      public VerticalAlignment getValign()
      Specified by:
      getValign in interface Aligneable
    • setAntialias

      public void setAntialias(boolean newAntialias)
    • isAntialias

      public boolean isAntialias()
    • setOffset

      public void setOffset(int newOffset)
    • getOffset

      public int getOffset()
    • setVoffset

      public void setVoffset(int newVoffset)
    • getVoffset

      public int getVoffset()
    • setReferenceWidth

      public void setReferenceWidth(int referenceWidth)
    • getReferenceWidth

      public int getReferenceWidth()
    • getLayering

      public Layering getLayering()
      Returns:
      How to apply effect in relation to semi transparent images
      Since:
      18.3
    • setLayering

      public void setLayering(Layering layering)
      How to apply effect in relation to semi transparent images
      Parameters:
      layering -
      Since:
      18.3
    • userInterface

      public JComponent userInterface()
      Description copied from interface: HasUserInterface
      Return (create if needed) the user interface for this instance (not called getUserInterface to avoid xml serialization)
      Specified by:
      userInterface in interface HasUserInterface
      Returns:
      the user interface bound to this instance
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface JAlbumFilter
    • getBounds

      public Rectangle getBounds()
      Specified by:
      getBounds in interface Bounded
    • getFolderOverlay

      public static LogoFilter getFolderOverlay()
      Returns:
      Default folder overlay
      Since:
      13.5
    • getVideoOverlay

      public static LogoFilter getVideoOverlay()
      Returns:
      Default video overlay
      Since:
      13.5
    • getWebLocationOverlay

      public static LogoFilter getWebLocationOverlay()
      Returns:
      Default video overlay
      Since:
      14