We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
##1 public enum LineCap : Int{ case round, butt, square
public func style() -> String { switch self { case .round: return CAShapeLayerLineCap.round.rawValue case .butt: return CAShapeLayerLineCap.butt.rawValue case .square: return CAShapeLayerLineCap.square.rawValue } }
}
##2
private func updateShapes() { backgroundShape?.lineWidth = lineWidth backgroundShape?.strokeColor = backgroundShapeColor.cgColor //backgroundShape?.lineCap = lineCap.style()
progressShape?.strokeColor = progressShapeColor.cgColor progressShape?.lineWidth = lineWidth - inset // progressShape?.lineCap = lineCap.style() switch orientation {
the above code is changed in my system and two line need to comment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
##1
public enum LineCap : Int{
case round, butt, square
}
##2
private func updateShapes() {
backgroundShape?.lineWidth = lineWidth
backgroundShape?.strokeColor = backgroundShapeColor.cgColor
//backgroundShape?.lineCap = lineCap.style()
the above code is changed in my system and two line need to comment
The text was updated successfully, but these errors were encountered: