| Package | Description |
|---|---|
| ws.schild.jave.filters |
| Modifier and Type | Method and Description |
|---|---|
VideoDrawtext |
VideoDrawtext.setAddArgument(String addArgument)
Add an additional argument to the command line
https://superuser.com/questions/939357/position-text-on-bottom-right-corner
Bottom right
x=w-tw:y=h-th
Bottom right with 10 pixel padding
x=w-tw-10:y=h-th-10
Top right
x=w-tw
Top right with 10 pixel padding
x=w-tw-10:y=10
Top left
x=0:y=0
Top left with 10 pixel padding
x=10:y=10
Bottom left
y=h-th
Bottom left with 10 pixel padding
x=10:h-th-10
centered
x=(w-text_w)/2:y=(h-text_h)/2
Can be used to speicfy other positions like "x=(w-text_w)/2:y=(h-text_h)/2"
for centered text water mark
|
VideoDrawtext |
VideoDrawtext.setBorderColor(Color borderColor) |
VideoDrawtext |
VideoDrawtext.setBorderWidth(int borderWidth) |
VideoDrawtext |
VideoDrawtext.setBox(int borderWidth,
Color color) |
VideoDrawtext |
VideoDrawtext.setBoxBorderWidth(int boxBorderWidth) |
VideoDrawtext |
VideoDrawtext.setBoxColor(Color boxColor) |
VideoDrawtext |
VideoDrawtext.setFontColor(Color fontColor) |
VideoDrawtext |
VideoDrawtext.setFontFile(File fontFile) |
VideoDrawtext |
VideoDrawtext.setFontName(String fontName) |
VideoDrawtext |
VideoDrawtext.setFontSize(float fontSize) |
VideoDrawtext |
VideoDrawtext.setLineSpacing(int lineSpacing) |
VideoDrawtext |
VideoDrawtext.setPosX(int posX)
ignored if posX & posY are both -1
|
VideoDrawtext |
VideoDrawtext.setPosY(int posY) |
VideoDrawtext |
VideoDrawtext.setShadow(Color shadowColor,
int shadowX,
int shadowY) |
VideoDrawtext |
VideoDrawtext.setShadowColor(Color shadowColor) |
VideoDrawtext |
VideoDrawtext.setShadowX(int shadowX) |
VideoDrawtext |
VideoDrawtext.setShadowY(int shadowY) |
VideoDrawtext |
VideoDrawtext.setWatermarkText(String watermarkText) |
Copyright © 2020. All rights reserved.