Package net.ixdarklord.folios.api.client.page


package net.ixdarklord.folios.api.client.page
  • Class
    Description
    Where something sits across a page: an element's text and what it shows, as "alignment" and "title_alignment" in JSON ("left", "center", "right" or "justify").
    A book's, category's or entry's 16-pixel icon: items (FoliosStack, 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 asked FoliosLayout.flow(String, int, String, FoliosPageElement.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).
    A small window a link opens over the book: under the pointer while it is over the link's words, and pinned in place once they are pressed, until the reader presses elsewhere or Esc.
    Items as a page names them, worked out only when they're first drawn (item components 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.