s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
FontVariationSettings
chevron_left Classes
struct
FontVariationSettings

Properties

data_objectFilldata_objectGradedata_objectOpticalSizedata_objectWeight

Methods

functionsTryGetValue

Static Methods

functionsTryParse
FontVariationSettings
OpenType axis values from a CSS font-variation-settings declaration. The default value represents normal.
struct Sandbox.UI .
sealedSandbox.System

data_object Properties 4

Fill
Nullable`1
The FILL axis. Material Symbols range from outlined at 0 to filled at 1.
Grade
Nullable`1
The GRAD axis. Adjusts stroke thickness without changing the space a glyph occupies.
OpticalSize
Nullable`1
The opsz axis. Defaults to the panel's optical sizing behavior.
Weight
Nullable`1
The wght axis. Defaults to the panel's font weight.

functions Methods 1

TryGetValue (tag, value)
bool
Looks up a case-sensitive axis tag.

functions Static Methods 1

TryParse (value, settings)
bool
Reads normal or a comma-separated list of quoted four-character tags and numeric values.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter