内容区 ...
转载 2012-07-13 17:09:00
63阅读
2评论
style="-fx-border-color:black;-fx-border-radius: 5px;" //设置边框圆角 -fx-background-radius: 25; //设置背景圆角
转载 15天前
11阅读
在存放图片的drawable-hdpi下新建一个xml文件:(corners_bg.xml)
转载 20天前
14阅读
色来模拟出圆角框的轮廓线。实例演示:http://www.
转载 2013-11-25 15:28:00
100阅读
2评论
例子1: <!DOCTYPE html> <html lang="en"> <head> <style> div { width: 350px; height: 100px; padding: 15px 0px 0px 25px; } .one { border-top-left-radius: 2 ...
转载 2021-09-30 16:56:00
177阅读
2评论
代码 <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > < html xmlns ="http://www.w3.org/1999/xhtml" > <
原创 28天前
46阅读
概述在实际工作中,android经常有需要实现圆角的场景。 笔者根据自己的经验,整理了下几种可行的圆角实现方案,分别适合不同的场景,期望能够对你有所帮助。方案类型一、定义drawable文件二、自定义需要实现圆角的View三、自定义圆角View的父布局四、使用第三方库一、定义drawable文件例子<shape xmlns:android="http://schemas.android.co
圆角效果 :border-radius使用方法:border-radius:10px; /* 所有角都使用半径为10px的圆角 */ border-radius: 5px 4px 3px 2px; /* 四个半径值分别是左上角、右上角、右下角和左下角,顺时针 */ border-radius的值不仅能用px单位,你还可以用百分比或者em,但兼容性目前还不太好。实心上半圆:方法:把高度(h
原创 2015-12-03 15:32:57
731阅读
using System;using System.Collections.Generic;using System.ComponentModel;using System.Diagnostics;using System.Text;using System.Windows.Forms;using ...
转载 2015-12-03 14:49:00
60阅读
2评论
圆角边框: border-radius:length; radius,表示圆的半径 使用: 1.正方形设置为圆形 把数值修改为高度的一半,或直接写50% 2.属性简写 跟四个值,顺序为左上、右上、右下、左下(顺时针) 跟两个值为对角线,即第一个值设定左上和右下 ,第二个值设定右上和左下 跟三个值时, ...
转载 2021-10-01 13:13:00
195阅读
2评论
转载 2017-06-14 10:31:00
118阅读
2评论
资源地址
原创 10月前
24阅读
<com.flyco.roundview.RoundTextView style="@style/AppTheme.Label" andro
*{ border-radius: 0px!important; webkit-border-radius: 0px!important; moz-border-radius: 0px!important;}
原创 1月前
53阅读
TAB     最新博文 推荐博文 热点博文       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.
转载 2010-12-29 14:49:00
70阅读
2评论
知识点一:品优购快报模块<style> *{ margin:0; padding:0; } .box{ width:248px; height:163px; border:1px solid #ccc; margi
原创 2月前
60阅读
CSS代码:-moz-border-radius: 15px; /* Gecko browsers */-webkit-border-radius: 15px; /* Webkit browsers */border-radius:15px; /* W3C syn...
原创 2022-04-30 15:08:46
191阅读
flutter 圆角矩形边框
定义圆角图片,可以使用一些现成的工具类,详见《Android设置圆角图,如两个圆角–工具类》,也可以使用自定义控件,本文介绍自定义方式实现图片圆角。也可以参考另外一篇Android圆角图基本思路dst和src求交集,借助Xfermode实现:1.自定义属性attrs 2.自定义控件RoundByXfermode 3.布局文件中摆放自定义控件先看下效果图: 首先自定义属性<?xml ver
转载 2017-01-24 16:54:46
49阅读
  • 1
  • 2
  • 3
  • 4
  • 5