You can apply a .sty style file to a layer programmatically. This is illustrated in:

  • The samples.lucy.loadstyle.Main sample for GXY layers

  • The samples.lucy.lightspeed.style.loading.Main sample for Lightspeed layers