Record Class FigureScene
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.internal.layout.FigureScene
- Record Components:
ops- 依繪製順序
Figure 的繪圖清單;座標為 Figure 空間(pt,原點在 Figure 左上、y 向下),文字已量測
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final record路徑;fill/stroke為null表示不填或不畫線static final record一段文字;x、baseline為使用者座標;fill/stroke為null表示不填或不描邊 -
Constructor Summary
ConstructorsConstructorDescriptionFigureScene(List<FigureScene.Op> ops) Creates an instance of aFigureScenerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ops()Returns the value of theopsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FigureScene
Creates an instance of aFigureScenerecord class.- Parameters:
ops- the value for theopsrecord component
-
-
Method Details
-
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). -
ops
-