CPDFEdgeInsets class

The CPDFEdgeInsets is used to set the padding of the PDF document.

Android can only set horizontal margins, top and bottom margins. Horizontal spacing cannot be set independently. The horizontal spacing value is set using the left attribute, the spacing between two pages is the same as the top spacing.

The iOS platform can set the top, bottom, left and right margins, and the spacing between two pages is the same as the top spacing.

Constructors

CPDFEdgeInsets.all(int value)
const
CPDFEdgeInsets.only({required int left, required int top, required int right, required int bottom})
const
CPDFEdgeInsets.symmetric({required int horizontal, required int vertical})
const

Properties

bottom int
final
hashCode int
The hash code for this object.
no setterinherited
left int
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top int
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