Instance Method
upgradeFromLegacyRepresentation()upgradeFromLegacyRepresentationupgradeFromLegacyRepresentation
The behavior of radial gradients has changed from Glyphs 3 to Glyphs 4.
Declaration
func upgradeFromLegacyRepresentation()Declaration
- (void) upgradeFromLegacyRepresentation;Declaration
upgradeFromLegacyRepresentation()Discussion
If the gradient has a parent and contains legacy values, this method normalizes startRadius, endCenter, and endRadius. Otherwise, this method does nothing.