Package sh.stein.carbon
Class ImageOptions
- java.lang.Object
-
- sh.stein.carbon.ImageOptions
-
public class ImageOptions extends java.lang.ObjectOptions to get an image with.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageOptions.FontFamilyA font family supported by Carbon.static classImageOptions.ImageOptionsBuilderUsed to build an instance ofImageOptionsfluently.static classImageOptions.LanguageA language supported by Carbon.static classImageOptions.ThemeA theme supported by Carbon.static classImageOptions.WindowThemeA window theme supported by Carbon.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBackgroundColor()static ImageOptionsgetDefault()Gets the default options, as found on Carbon.booleangetDropShadow()java.lang.StringgetDropShadowBlurRadius()java.lang.StringgetDropShadowOffsetY()intgetFirstLineNumber()java.lang.StringgetFontFamily()java.lang.StringgetFontSize()ImageOptions.LanguagegetLanguage()java.lang.StringgetLineHeight()booleangetLineNumbers()java.lang.StringgetPaddingHorizontal()java.lang.StringgetPaddingVertical()intgetScaleFactor()java.lang.StringgetTheme()booleangetWatermark()booleangetWidthAdjustment()booleangetWindowControls()ImageOptions.WindowThemegetWindowTheme()
-
-
-
Method Detail
-
getDefault
public static ImageOptions getDefault()
Gets the default options, as found on Carbon.- Returns:
- the
ImageOptionsinstance
-
getBackgroundColor
public java.lang.String getBackgroundColor()
-
getDropShadow
public boolean getDropShadow()
-
getDropShadowBlurRadius
public java.lang.String getDropShadowBlurRadius()
-
getDropShadowOffsetY
public java.lang.String getDropShadowOffsetY()
-
getFirstLineNumber
public int getFirstLineNumber()
-
getFontFamily
public java.lang.String getFontFamily()
-
getFontSize
public java.lang.String getFontSize()
-
getLanguage
public ImageOptions.Language getLanguage()
-
getLineHeight
public java.lang.String getLineHeight()
-
getLineNumbers
public boolean getLineNumbers()
-
getPaddingHorizontal
public java.lang.String getPaddingHorizontal()
-
getPaddingVertical
public java.lang.String getPaddingVertical()
-
getScaleFactor
public int getScaleFactor()
-
getTheme
public java.lang.String getTheme()
-
getWatermark
public boolean getWatermark()
-
getWidthAdjustment
public boolean getWidthAdjustment()
-
getWindowControls
public boolean getWindowControls()
-
getWindowTheme
public ImageOptions.WindowTheme getWindowTheme()
-
-