aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/TextPath.js
Commit message (Collapse)AuthorAgeFilesLines
* remove double quote from all 'url()' refs, update testsHarry Faulkner2022-08-211-1/+1
|
* update dependencies, apply new linter fixesUlrich-Matthias Schäfer2021-01-131-4/+4
|
* make targets for textPath work when no href is setUlrich-Matthias Schäfer2020-05-091-1/+1
|
* Fixed IE Polyfills, got rid of ArrayPolyfill in favour of babels own ↵Ulrich-Matthias Schäfer2020-05-041-1/+6
| | | | transforms, updated dependencies, finished tests, removed old es5 tests
* remove targets from Path because its in TextPath alreadyUlrich-Matthias Schäfer2020-04-101-1/+1
|
* This is a big one...Ulrich-Matthias Schäfer2020-03-281-3/+3
| | | | | | | | | | | | | | | | | | | | ### Fixed - fixed `zoom()` method of runner which was passed a wrong parameter - fixed positioning methods of `TSpan` to position them by its bounding box - fixed `flip()` method which flips correctly by center by default now and accepts correct arguments - fixed a case in `rbox()` where not always all values of the box were updated - fixed `getOrigin()` function used by `transform()` so that all origin (#1085) popssibilities specified in the docs are working - fixed positioning of text by its baseline when using `amove()` - fixed tons of typings in the svg.d.ts file ### Added - added second Parameter to `SVG(el, isHTML)` which allows to explicitely create elements in the HTML namespace (#1058) - added `unlink()` and `linker()` to hyperlinked elements to remove or access the underling `<a>` element - added `wrap()` method to `Dom` which lets you wrap an element by another one - added `orient()` method to `Marker` - added `options` parameter to `dispatch()` and `fire()` to allow for more special needs - added `newLine()` constructor to `Text` to create a tspan marked as new line (#1088) - added lots of tests in es6 format
* Register classes explicitly instead of relying on `Function.name` because ↵Ulrich-Matthias Schäfer2019-02-271-1/+1
| | | | classes could be renamed
* fixed `root()`, `textPath()`, `text.path()` and `path.text()` and removed ↵3.0.10Ulrich-Matthias Schäfer2019-01-141-27/+20
| | | | font-family and size from the defaults list
* fixed `textPath()` and `path().text()`Ulrich-Matthias Schäfer2019-01-141-5/+27
|
* rename `doc()` to `root()` and `toDoc()` to `toRoot()` as dicussed in (#932)Ulrich-Matthias Schäfer2018-11-191-1/+1
|
* added possibility to pass in additional attribues to element creators (#796)Ulrich-Matthias Schäfer2018-11-081-8/+8
| | | | | | e.g. - `canvas.rect({x:100})` or - `canvas.rect(100, 100, {x:100})`
* added possibility to pass attribues into a constructor like: `new ↵Ulrich-Matthias Schäfer2018-11-081-1/+1
| | | | SVG.Rect({width:100})`
* added insertAfter/Before, introduce attrHooks, move few methods, ↵Ulrich-Matthias Schäfer2018-11-081-7/+10
| | | | SVG.Text.textPath returns first textPath child now
* reordered modules, add es6 buildUlrich-Matthias Schäfer2018-11-061-0/+83