Record Class FigureContent.Svg
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.FigureContent.Svg
- Record Components:
markup- SVG 原始碼
- All Implemented Interfaces:
FigureContent
- Enclosing interface:
FigureContent
受限 SVG
只接受 REP-04 契約定義的子集(白名單元素與屬性、無外部資源、複雜度上限),於
ReportDocument.Builder#build() 驗證,不合法時回報 report.model.figure.svg-* ERROR。
viewBox 依 preserveAspectRatio 對應到 Figure 的寬高;圖內文字以已登錄的字型輸出為可抽取的 PDF 文字。
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface FigureContent
FigureContent.Raster, FigureContent.Svg -
Constructor Summary
Constructors -
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.markup()Returns the value of themarkuprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Svg
-
-
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). -
markup
-