Tôi đang cố gắng tạo một SKShapeNode với một suy nghĩ rất giống (như 0,25 pixel). Có vẻ như lineWidth của 1 là nhỏ nhất tôi có thể đi, ít nhất đó là những gì nó trông giống như trên màn hình không có mater những gì giá trị nhỏ hơn 1 được thiết lập.Làm cách nào để đặt lineWidth nhỏ hơn 1 cho SKShapeNode?
SKShapeNode *buttonOutline;
buttonOutline = [[SKShapeNode alloc] init];
CGMutablePathRef myPath = CGPathCreateMutable();
CGPathAddRoundedRect(myPath, NULL, CGRectMake(0, 0, 100, 30), 10, 10);
buttonOutline.path = myPath;
buttonOutline.strokeColor=[SKColor grayColor];
buttonOutline.lineWidth= 0.25;
buttonOutline.name = [NSString stringWithFormat:@"%@-buttonOutline", thisButtonName];
buttonOutline.position = CGPointMake(thisXPos,thisYPod);
buttonOutline.alpha = 1;
Nhờ đó, hoạt động này, tôi không thể tìm thấy bất cứ nơi nào trong tài liệu này –