Record Class BoxStyle
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.BoxStyle
- Record Components:
border- 框線fill- 底色padding- 內距
區塊框樣式覆寫值;每個欄位為
null 時繼承 DocumentStyles.box()- Since:
- 4.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBoxStyle(LineStyle border, ReportColor fill, Length padding) Creates an instance of aBoxStylerecord class. -
Method Summary
Modifier and TypeMethodDescriptionborder()Returns the value of theborderrecord component.final booleanIndicates whether some other object is "equal to" this one.fill()Returns the value of thefillrecord component.final inthashCode()Returns a hash code value for this object.static BoxStyleinherit()全部欄位繼承的空覆寫以override的非null欄位覆寫本樣式padding()Returns the value of thepaddingrecord component.final StringtoString()Returns a string representation of this record class.withBorder(LineStyle border) withFill(ReportColor fill) withPadding(Length padding)
-
Constructor Details
-
BoxStyle
-
-
Method Details
-
inherit
-
withBorder
-
withFill
-
withPadding
-
overlay
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
border
-
fill
-
padding
-