Skip to content

Unable to change gradient start, end point. #7

Description

@d3ko191

I have this function, which is called in viewDidLoad. Unfortunately, no matter what values I enter for the gradient start and end point, the gradient is always the same.

private func configure(progressRing: ALProgressRing, startColor: UIColor, endColor: UIColor) { progressRing.startColor = startColor progressRing.endColor = endColor progressRing.duration = 2 progressRing.timingFunction = .easeIn progressRing.lineWidth = 10 progressRing.startGradientPoint = .init(x: 0, y: 0.5) progressRing.endGradientPoint = .init(x: 1, y: 0.5) }

Please tell me if I'm making a mistake, or can you do an update?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions