Latest 0.0.1
Homepage https://github.com/Jonwei/JWWatermarkLayer
License MIT
Platforms ios 9.0
Authors

创建水印,目前只支持文本水印。

使用示例

JWMarkLayer *layer = [[JWMarkLayer alloc] init];
layer.frame = self.view.bounds;
layer.text = @"夏商周秦汉 唐宋元明清";
layer.textColor = [UIColor redColor];
layer.angle = -M_PI_4;
[self.view.layer addSublayer:layer];

效果图

效果图2

Latest podspec

{
    "name": "JWWatermarkLayer",
    "version": "0.0.1",
    "summary": "create text watermark.",
    "homepage": "https://github.com/Jonwei/JWWatermarkLayer",
    "license": "MIT",
    "authors": {
        "Joe": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/Jonwei/JWWatermarkLayer.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "JWWatermarkLayer",
        "JWWatermarkLayer/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This