Skip to content

Instantly share code, notes, and snippets.

@dennda
Created October 3, 2011 23:44
Show Gist options
  • Save dennda/1260558 to your computer and use it in GitHub Desktop.
Save dennda/1260558 to your computer and use it in GitHub Desktop.
+ (TransferFunctionPoint *)pointWithX:(double)_x Y:(double)_y Color:(UIColor*)_color {
TransferFunctionPoint *p = [[[self class] alloc] init];
p.x = _x;
p.y = _y;
p.color = _color;
return p;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment