私は非常に思考のストローク(0.25ピクセルのような)でSKShapeNodeを作ろうとしています。 1のlineWidthが私が行くことができる最小のものであるように思えます。少なくとも、それは1未満の値が設定されていない画面では見えます。SKShapeNodeのlineWidthを1未満に設定するにはどうすればよいですか?
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;
おかげで、この作品、私はドキュメントで、このどこかを見つけることができなかったことを忘れないでください –