Package net.ixdarklord.folios.api.client.page
package net.ixdarklord.folios.api.client.page
-
ClassDescriptionA book's, category's or entry's 16-pixel icon: items (
GuideStack, e.g.Where pages are laid out: the page's size and margins, the font, and helpers for the parts most pages have (a title, and text that continues onto further pages).What a page askedGuideLayout.flow(java.lang.String, int, java.lang.String, net.ixdarklord.folios.api.client.page.GuidePage.Part)for: its title, its own part and how tall it is, and its text.A page of an entry, as its JSON describes it.A page ready to draw.Something drawn on a page from a given height down, such as what comes before a page's text.A laid page that is half of a spread: the book draws its frame joined with the other half's over the fold, and one page number for both, at the fold.The types of element a page shows, by the"type"their JSON names.What a page draws with.What a dragged rectangle does as the pointer moves while it is held: by how far, in page pixels.What a rectangle does when the mouse wheel turns over it: by how many notches, away from the reader positive.The colours a page is drawn in (ARGB).Items as a page names them, worked out only when they're first drawn (item tags need the world's registries, which a book loaded with resources doesn't have yet).Text written for a book, set out in lines to a width.What a line is part of, which decides how it is drawn.One line, at (x, y) from the text's top left.