类 FlipFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class FlipFilter
    extends AbstractBufferedImageOp
    A filter which flips images or rotates by multiples of 90 degrees.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static int FLIP_180
      Rotate the image 180 degrees.
      static int FLIP_90CCW
      Rotate the image 90 degrees counter-clockwise.
      static int FLIP_90CW
      Rotate the image 90 degrees clockwise.
      static int FLIP_H
      Flip the image horizontally.
      static int FLIP_HV
      Flip the image horizontally and vertically.
      static int FLIP_V
      Flip the image vertically.
    • 构造器概要

      构造器 
      构造器 说明
      FlipFilter()
      Construct a FlipFilter which flips horizontally and vertically.
      FlipFilter​(int operation)
      Construct a FlipFilter.
    • 字段详细资料

      • FLIP_H

        public static final int FLIP_H
        Flip the image horizontally.
        另请参阅:
        常量字段值
      • FLIP_V

        public static final int FLIP_V
        Flip the image vertically.
        另请参阅:
        常量字段值
      • FLIP_HV

        public static final int FLIP_HV
        Flip the image horizontally and vertically.
        另请参阅:
        常量字段值
      • FLIP_90CW

        public static final int FLIP_90CW
        Rotate the image 90 degrees clockwise.
        另请参阅:
        常量字段值
      • FLIP_90CCW

        public static final int FLIP_90CCW
        Rotate the image 90 degrees counter-clockwise.
        另请参阅:
        常量字段值
      • FLIP_180

        public static final int FLIP_180
        Rotate the image 180 degrees.
        另请参阅:
        常量字段值
    • 构造器详细资料

      • FlipFilter

        public FlipFilter()
        Construct a FlipFilter which flips horizontally and vertically.
      • FlipFilter

        public FlipFilter​(int operation)
        Construct a FlipFilter.
        参数:
        operation - the filter operation
    • 方法详细资料

      • setOperation

        public void setOperation​(int operation)
        Set the filter operation.
        参数:
        operation - the filter operation
        另请参阅:
        getOperation()
      • getOperation

        public int getOperation()
        Get the filter operation.
        返回:
        the filter operation
        另请参阅:
        setOperation(int)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object