SkillAgentSearch skills...

TKRoundedView

Rounded Corners Without Images

Install / Use

/learn @mapedd/TKRoundedView
About this skill

Quality Score

0/100

Supported Platforms

Universal

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

Related Skills

View on GitHub
GitHub Stars289
CategoryDevelopment
Updated2mo ago
Forks32

Languages

Objective-C

Security Score

95/100

Audited on Jan 7, 2026

No findings