我正在尝试制作一个具有非常思考笔画的SKShapeNode(如0.25像素).似乎lineWidth为1是我可以去的最小值,至少在屏幕上看起来是这样的,无论是什么值设置为小于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;
Run Code Online (Sandbox Code Playgroud) 我有几个从公共页面链接的私人页面。默认情况下,当非登录用户单击这些链接之一时,他们将获得404页面。我希望他们获得登录页面,然后继续进入他们要求的页面。
Pete的Redirect插件很棒,但登录后希望按用户/角色转到专门指定的页面。我想继续浏览他们要求的页面。
有什么建议么?谢谢,有钱