GanttChartContentPresenter
public protocol GanttChartContentPresenter : AnyObject
Presents the user interface as prepared by an associated controller.
-
Undocumented
Declaration
Swift
func draw(bar: GanttChartBar) -
drawBar(for:in:fillColor:secondaryFillColor:strokeColor:strokeWidth:cornerRadius:isHighlighted:isFocused:isSelected:highlightColor:focusColor:selectionColor:highlightWidth:focusWidth:selectionWidth:allowsMoving:allowsResizing:allowsResizingAtStart:allowsMovingVertically:thumbDistance:)Undocumented
Declaration
Swift
func drawBar(for item: GanttChartItem, in rectangle: Rectangle, fillColor: Color, secondaryFillColor: Color, strokeColor: Color?, strokeWidth: Double, cornerRadius: Double, isHighlighted: Bool, isFocused: Bool, isSelected: Bool, highlightColor: Color, focusColor: Color, selectionColor: Color, highlightWidth: Double, focusWidth: Double, selectionWidth: Double, allowsMoving: Bool, allowsResizing: Bool, allowsResizingAtStart: Bool, allowsMovingVertically: Bool, thumbDistance: Double) -
drawSummaryBar(for:in:fillColor:secondaryFillColor:strokeColor:strokeWidth:triangleInset:triangleScale:isExpanded:isHighlighted:isFocused:isSelected:highlightColor:focusColor:selectionColor:highlightWidth:focusWidth:selectionWidth:allowsMoving:allowsResizing:allowsResizingAtStart:allowsMovingVertically:thumbDistance:)Undocumented
Declaration
Swift
func drawSummaryBar(for item: GanttChartItem, in rectangle: Rectangle, fillColor: Color, secondaryFillColor: Color, strokeColor: Color?, strokeWidth: Double, triangleInset: Double, triangleScale: Double, isExpanded: Bool, isHighlighted: Bool, isFocused: Bool, isSelected: Bool, highlightColor: Color, focusColor: Color, selectionColor: Color, highlightWidth: Double, focusWidth: Double, selectionWidth: Double, allowsMoving: Bool, allowsResizing: Bool, allowsResizingAtStart: Bool, allowsMovingVertically: Bool, thumbDistance: Double) -
drawMilestone(for:in:fillColor:secondaryFillColor:strokeColor:strokeWidth:isHighlighted:isFocused:isSelected:highlightColor:focusColor:selectionColor:highlightWidth:focusWidth:selectionWidth:allowsMoving:allowsMovingVertically:thumbDistance:)Undocumented
Declaration
Swift
func drawMilestone(for item: GanttChartItem, in rectangle: Rectangle, fillColor: Color, secondaryFillColor: Color, strokeColor: Color?, strokeWidth: Double, isHighlighted: Bool, isFocused: Bool, isSelected: Bool, highlightColor: Color, focusColor: Color, selectionColor: Color, highlightWidth: Double, focusWidth: Double, selectionWidth: Double, allowsMoving: Bool, allowsMovingVertically: Bool, thumbDistance: Double) -
drawCompletionBar(for:in:fillColor:secondaryFillColor:strokeColor:strokeWidth:cornerRadius:allowsResizing:thumbDistance:)Undocumented
Declaration
Swift
func drawCompletionBar(for item: GanttChartItem, in rectangle: Rectangle, fillColor: Color, secondaryFillColor: Color, strokeColor: Color?, strokeWidth: Double, cornerRadius: Double, allowsResizing: Bool, thumbDistance: Double) -
Undocumented
Declaration
Swift
func drawBarLabel(for item: GanttChartItem, in rectangle: Rectangle, text: String, foregroundColor: Color, alignment: TextAlignment) -
Undocumented
Declaration
Swift
func drawAttachmentLabel(for item: GanttChartItem, in rectangle: Rectangle, text: String, foregroundColor: Color) -
Undocumented
Declaration
Swift
func draw(dependencyLine: GanttChartDependencyLine) -
drawDependencyLine(for:as:color:width:arrowWidth:arrowLength:isHighlighted:isFocused:isSelected:highlightWidth:focusWidth:selectionWidth:)Undocumented
Declaration
Swift
func drawDependencyLine(for dependency: GanttChartDependency, as polyline: Polyline, color: Color, width: Double, arrowWidth: Double, arrowLength: Double, isHighlighted: Bool, isFocused: Bool, isSelected: Bool, highlightWidth: Double, focusWidth: Double, selectionWidth: Double) -
Undocumented
Declaration
Swift
func drawDependencyLineThumb(for item: GanttChartItem, type: GanttChartDependencyEndType, center: Point, radius: Double, color: Color) -
Undocumented
Declaration
Swift
func drawTemporaryDependencyLine(from: GanttChartItem, to: GanttChartItem?, type: GanttChartDependencyType, as polyline: Polyline, color: Color, width: Double, arrowWidth: Double, arrowLength: Double, dashWidth: Double) -
Undocumented
Declaration
Swift
func drawTimeArea(for highlighter: ScheduleTimeSelector, in rectangle: Rectangle, fillColor: Color) -
Undocumented
Declaration
Swift
func drawTimeArea(for highlighter: TimeSelector, in rectangle: Rectangle, backgroundColor: Color) -
Undocumented
Declaration
Swift
func drawTimeAreaBorder(for highlighter: TimeSelector, in rectangle: Rectangle, line: Line, lineWidth: Double, color: Color) -
Undocumented
Declaration
Swift
func drawTimeAreaLabel(for highlighter: TimeSelector, in rectangle: Rectangle, text: String, foregroundColor: Color, alignment: TextAlignment, verticalAlignment: VerticalTextAlignment) -
toolTip(for:)Default implementationUndocumented
Default Implementation
Undocumented
Undocumented
Declaration
Swift
func toolTip(for item: GanttChartItem) -> String? -
Undocumented
Declaration
Swift
func toolTip(for dependency: GanttChartDependency) -> String?
GanttChartContentPresenter Protocol Reference