Enum OverlayLocation

java.lang.Object
java.lang.Enum<OverlayLocation>
ws.schild.jave.filters.helpers.OverlayLocation
All Implemented Interfaces:
Serializable, Comparable<OverlayLocation>, java.lang.constant.Constable

public enum OverlayLocation extends Enum<OverlayLocation>
Use this class to specify the starting location of your overlay. This accounts for video and overlay dimensions and still allows for relative offset.
Author:
mressler
  • Enum Constant Details

  • Method Details

    • values

      public static OverlayLocation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OverlayLocation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getExpression

      public String getExpression(Optional<Integer> offsetX, Optional<Integer> offsetY)
    • getX

      public String getX(Optional<Integer> offset)
    • getY

      public String getY(Optional<Integer> offset)