CPDFBorderStyle class annotations
Border style configuration for annotations.
This model describes how an annotation border should be rendered.
Key properties:
Serialization:
- Use CPDFBorderStyle.fromJson to create an instance from a JSON map.
- Use toJson to convert this instance to a JSON map.
Constructors
- CPDFBorderStyle({CPDFAnnotBorderStyle style = CPDFAnnotBorderStyle.solid, double dashGap = 8.0})
-
const
- CPDFBorderStyle.dashed({double dashGap = 9.0})
-
const
-
CPDFBorderStyle.fromJson(Map<
String, dynamic> json) -
factory
- CPDFBorderStyle.solid()
-
const
Properties
- dashGap → double
-
Dashed gap, only style=CPDFAnnotBorderStyle.dashed is valid.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → CPDFAnnotBorderStyle
-
default: CPDFAnnotBorderStyle.solid
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited