tkr

TKRoundedView

Rounded Corners Without Images

Showing:

Popularity

Downloads/wk

0

GitHub Stars

294

Maintenance

Last Commit

6yrs ago

Contributors

4

Package

Dependencies

0

License

Apache

Categories

Readme

#TKRoundedView

##Features

Simple rounded corners without images

Screenshot Screenshot

##Example usage

    NSArray *gradientColorsAndLocations = (@[
                                           @{colorKey: [UIColor blackColor],locationKey: @(0.0f)},
                                           @{colorKey: [UIColor lightGrayColor]  ,locationKey: @(0.5f)},
                                           @{colorKey: [UIColor whiteColor],locationKey: @(1.0f)}
                                           ]);
    
    TKRoundedView *view = [[TKRoundedView alloc] initWithFrame:frame];
    view.roundedCorners = TKRoundedCornerTopLeft
    view.borderColor = [UIColor greenColor];
    view.fillColor = [UIColor whiteColor];
    view.gradientColorsAndLocations = gradientColorsAndLocations;
    view.gradientDirection = TKGradientDirectionDown;
    view.drawnBordersSides = TKDrawnBorderSidesLeft | TKDrawnBorderSidesTop;
    view.borderWidth = 5.0f;
    view.cornerRadius = 15.0f;

##Parameters

  • cornerRadius
  • borderWidth
  • borderColor
  • fillColor
  • rounded corners
  • drawn borders
  • gradient with any number of colors
  • gradient location

##Example project

YES

##Contact

##License

Apache

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100