{"id":"graphics.text--graphicsFontResource","name":"graphicsFontResource","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsFontResource","description":"A graphics font resource record carrying id, family, sourceUri, format, minimumWeight, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"family","kind":"field","type":"text","description":"Stores family as text.","signature":"text family","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"sourceUri","kind":"field","type":"text","description":"Stores source uri as text.","signature":"text sourceUri","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"format","kind":"field","type":"text","description":"Stores format as text.","signature":"text format","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"minimumWeight","kind":"field","type":"int","description":"Stores minimum weight as int.","signature":"int minimumWeight","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"maximumWeight","kind":"field","type":"int","description":"Stores maximum weight as int.","signature":"int maximumWeight","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"styles","kind":"field","type":"text","description":"Stores styles as text.","signature":"text styles","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsFontResource","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"family","type":"text","description":"Family."},{"name":"sourceUri","type":"text","description":"Source uri."},{"name":"format","type":"text","description":"Format."},{"name":"minimumWeight","type":"int","description":"Minimum weight."},{"name":"maximumWeight","type":"int","description":"Maximum weight."},{"name":"styles","type":"text","description":"Styles."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsFontResource(text id, text family, text sourceUri, text format, int minimumWeight, int maximumWeight, text styles, text source)","description":"Graphics font resource.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","graphics.text"],"exampleId":"method-ValidationIssue-9","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","graphics.text"],"exampleId":"method-Describe-10","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text","method","source-example","text","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping.yh","line":55,"sha256":"116949dcf311dd0fd246fd1f36696a40bd178e892887dff1d1d515316e09b6c5"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use graphicsFontResource","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ngraphicsFontResource sample = graphicsFontResource(\"id\", \"cpu\", \"source Uri\", \"png\", 1, 1, \"styles\", \"example\")\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontresource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"fb847a73be840c9326cc4eac3dfafdfcb453deea28641b7193dd9309ed6b8ddd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-9","title":"graphicsFontResource.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Validation issue.\ngraphicsFontResource instance = graphicsFontResource(\"id\", \"cpu\", \"source Uri\", \"png\", 1, 1, \"styles\", \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontresource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"6acbf292117dadb95276ee9473254d2990f9241de51d18dfcc71da320009cae0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-10","title":"graphicsFontResource.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Describe.\ngraphicsFontResource instance = graphicsFontResource(\"id\", \"cpu\", \"source Uri\", \"png\", 1, 1, \"styles\", \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontresource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b5407635e6dbb6c0031dc6d039ffbf3aed002069da2533102439396934bfa41c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","family","sourceUri","format","minimumWeight","maximumWeight","styles","source","graphicsFontResource","ValidationIssue","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsFontResource","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsFontResource.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsFontResource.md"}
