Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
boydm committed Mar 21, 2019
1 parent 3f642be commit 964d5dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/font_metrics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -759,10 +759,10 @@ defmodule FontMetrics do
Wraps a string to a given width by adding returns.
options
* `:indent` - indent wrapped lines by n spaces. `intent: 2`
* `:indent` - indent wrapped lines by n spaces or a given string. examples: `indent: 2` or `indent: "___"` or `indent: '...'`
* `:kern` - account for Kerning - true or false
returns `{x_position, line_number}`
returns the wrapped string
"""
def wrap(source, max_width, pixels, font_metric, opts \\ [])

Expand Down

0 comments on commit 964d5dd

Please sign in to comment.