Skip to content

Commit

Permalink
Document EFPointStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ApolloZhu authored and EyreFree committed Nov 23, 2021
1 parent 4d7b8af commit 398b0cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/EFPointStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
import Foundation
import CoreGraphics

/// Collection of foreground point renderer capabilities.
@objc public protocol EFPointStyle {
/// Fills a code point satisfying this style.
/// - Parameters:
/// - context: the context to draw in.
/// - rect: the boundaries of the point to draw.
/// - isStatic: true if it is recommended to use a square instead of current style.
func fillRect(context: CGContext, rect: CGRect, isStatic: Bool)
}

Expand Down

0 comments on commit 398b0cd

Please sign in to comment.