ContentPresenterAdapter
public class ContentPresenterAdapter : GanttChartContentPresenter
Undocumented
-
Undocumented
Declaration
Swift
public 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
public 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
public 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
public 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
public 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
public func drawBarLabel(for item: GanttChartItem, in rectangle: Rectangle, text: String, foregroundColor: Color, alignment: TextAlignment)
-
Undocumented
Declaration
Swift
public func drawAttachmentLabel(for item: GanttChartItem, in rectangle: Rectangle, text: String, foregroundColor: Color)
-
Undocumented
Declaration
Swift
public func draw(dependencyLine: GanttChartDependencyLine)
-
drawDependencyLine(for:as:color:width:arrowWidth:arrowLength:isHighlighted:isFocused:isSelected:highlightWidth:focusWidth:selectionWidth:)
Undocumented
Declaration
Swift
public 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
public func drawDependencyLineThumb(for item: GanttChartItem, type: GanttChartDependencyEndType, center: Point, radius: Double, color: Color)
-
Undocumented
Declaration
Swift
public func drawTemporaryDependencyLine(from: GanttChartItem, to: GanttChartItem?, type: GanttChartDependencyType, as polyline: Polyline, color: Color, width: Double, arrowWidth: Double, arrowLength: Double, dashWidth: Double)
-
Undocumented
Declaration
Swift
public func drawTimeArea(for highlighter: ScheduleTimeSelector, in rectangle: Rectangle, fillColor: Color)
-
Undocumented
Declaration
Swift
public func drawTimeArea(for highlighter: TimeSelector, in rectangle: Rectangle, backgroundColor: Color)
-
Undocumented
Declaration
Swift
public func drawTimeAreaBorder(for highlighter: TimeSelector, in rectangle: Rectangle, line: Line, lineWidth: Double, color: Color)
-
Undocumented
Declaration
Swift
public func drawTimeAreaLabel(for highlighter: TimeSelector, in rectangle: Rectangle, text: String, foregroundColor: Color, alignment: TextAlignment, verticalAlignment: VerticalTextAlignment)
-
Undocumented
Declaration
Swift
public func toolTip(for item: GanttChartItem) -> String?
-
Undocumented
Declaration
Swift
public func toolTip(for dependency: GanttChartDependency) -> String?