Skip to content

Commit

Permalink
added interface to get bottom.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kray-G committed Sep 27, 2021
1 parent 40c52c7 commit ab80f91
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/PdfWriter.kx
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 274,14 @@ namespace Typesetting {
direction_ = direction;
}

public getYBottom() {
if (ybottom_ > 0) {
return ybottom_;
}
var margin = @makeMarginSize();
return margin.bottom;
}

public setMargin(margin) {
margin_ = margin.clone();
marginCache_ = null;
Expand Down

0 comments on commit ab80f91

Please sign in to comment.