2 // StrengthenListItemView.swift
5 // Created by Hori,Masaki on 2017/01/02.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class StrengthenListItemView: NSBox {
13 override func draw(_ dirtyRect: NSRect) {
17 let width = bounds.width
18 let height = bounds.height
21 NSBezierPath.defaultLineWidth = borderWidth
22 NSBezierPath.stroke(bounds)
25 .move(to: NSPoint(x: 29.5, y: 0))
26 .line(to: NSPoint(x: 29.5, y: height))
27 .move(to: NSPoint(x: 67.5, y: 0))
28 .line(to: NSPoint(x: 67.5, y: height))
29 .move(to: NSPoint(x: 227.5, y: 0))
30 .line(to: NSPoint(x: 227.5, y: height))
31 .move(to: NSPoint(x: 0, y: 17.5))
32 .line(to: NSPoint(x: width, y: 17.5))
33 .move(to: NSPoint(x: 0, y: 34.5))
34 .line(to: NSPoint(x: width, y: 34.5))