PdfRect class

Annotations
  • @immutable

Constructors

PdfRect(double x, double y, double width, double height)
const
PdfRect.fromLTRB(double left, double top, double right, double bottom)
factory
PdfRect.fromPoints(PdfPoint offset, PdfPoint size)
factory

Properties

bottom double
no setter
bottomLeft PdfPoint
no setter
bottomRight PdfPoint
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
final
horizondalCenter double
no setter
horizontalCenter double
no setter
left double
no setter
offset PdfPoint
no setter
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size PdfPoint
no setter
top double
no setter
topLeft PdfPoint
no setter
topRight PdfPoint
no setter
verticalCenter double
no setter
width double
final
x double
final
y double
final

Methods

copyWith({double? x, double? y, double? width, double? height}) PdfRect
deflate(double delta) PdfRect
Returns a new rectangle with edges moved inwards by the given delta.
inflate(double delta) PdfRect
Returns a new rectangle with edges moved outwards by the given delta.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator *(double factor) PdfRect
operator ==(Object other) bool
The equality operator.
inherited

Constants

zero → const PdfRect