Package com.aspose.barcode.generation
Class BorderParameters
- java.lang.Object
-
- com.aspose.barcode.generation.BorderParameters
-
public class BorderParameters extends java.lang.Object
Barcode image border parameters
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColor()
Border color.BorderDashStyle
getDashStyle()
Border dash style.boolean
getVisible()
Border visibility.Unit
getWidth()
Border width.void
setColor(int value)
Border color.void
setDashStyle(BorderDashStyle value)
Border dash style.void
setVisible(boolean value)
Border visibility.void
setWidth(Unit value)
Border width.java.lang.String
toString()
Returns a human-readable string representation of thisBorderParameters
.
-
-
-
Method Detail
-
getVisible
public boolean getVisible()
Border visibility. If false than parameter Width is always ignored (0). Default value: false.
-
setVisible
public void setVisible(boolean value)
Border visibility. If false than parameter Width is always ignored (0). Default value: false.
-
getWidth
public Unit getWidth()
Border width. Default value: 0. Ignored if Visible is set to false.
-
setWidth
public void setWidth(Unit value)
Border width. Default value: 0. Ignored if Visible is set to false.
-
toString
public java.lang.String toString()
Returns a human-readable string representation of this
BorderParameters
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
BorderParameters
.
-
getDashStyle
public BorderDashStyle getDashStyle()
Border dash style. Default value: BorderDashStyle.Solid.
-
setDashStyle
public void setDashStyle(BorderDashStyle value)
Border dash style. Default value: BorderDashStyle.Solid.
-
getColor
public int getColor()
Border color. Default value: Color.Black.
-
setColor
public void setColor(int value)
Border color. Default value: Color.Black.
-
-