Uses of Enum Class
cloud.opencode.base.image.Position
Packages that use Position
-
Uses of Position in cloud.opencode.base.image
Subclasses with type arguments of type Position in cloud.opencode.base.imageMethods in cloud.opencode.base.image that return PositionModifier and TypeMethodDescriptionstatic PositionReturns the enum constant of this class with the specified name.static Position[]Position.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.image with parameters of type Position -
Uses of Position in cloud.opencode.base.image.watermark
Methods in cloud.opencode.base.image.watermark that return PositionModifier and TypeMethodDescriptionImageWatermark.position()Returns the value of thepositionrecord component.TextWatermark.position()Returns the value of thepositionrecord component.Watermark.position()Get watermark position 获取水印位置Methods in cloud.opencode.base.image.watermark with parameters of type PositionModifier and TypeMethodDescriptionstatic ImageWatermarkImageWatermark.of(BufferedImage image, Position position) Create image watermark with position 创建带位置的图片水印static ImageWatermarkImageWatermark.of(BufferedImage image, Position position, float opacity) Create image watermark with position and opacity 创建带位置和透明度的图片水印static TextWatermarkCreate text watermark with position 创建带位置的文字水印static TextWatermarkCreate text watermark with position and font 创建带位置和字体的文字水印Set position 设置位置Set position 设置位置ImageWatermark.withPosition(Position newPosition) Create copy with different position 创建使用不同位置的副本TextWatermark.withPosition(Position newPosition) Create copy with different position 创建使用不同位置的副本Constructors in cloud.opencode.base.image.watermark with parameters of type PositionModifierConstructorDescriptionImageWatermark(BufferedImage image, Position position, float opacity, int margin) Compact constructor with validation 紧凑构造函数(带验证)TextWatermark(String text, Position position, Font font, Color color, float opacity, int margin) Compact constructor with validation 紧凑构造函数(带验证)