You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.fanruan.api.design.macro;
|
|
|
|
|
|
|
|
import com.fanruan.api.util.IOKit;
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
import java.awt.*;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 设计器界面使用的一些常量
|
|
|
|
*/
|
|
|
|
public interface UIConstants {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 边框线颜色
|
|
|
|
*/
|
|
|
|
Color LINE_COLOR = new Color(153, 153, 153);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 带标题的边框的颜色
|
|
|
|
*/
|
|
|
|
Color TITLED_BORDER_COLOR = new Color(0xe8e8e9);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 圆角弧度
|
|
|
|
*/
|
|
|
|
int ARC = 0;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 线条
|
|
|
|
*/
|
|
|
|
Stroke BS = new BasicStroke(1f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 2f, new float[]{3, 1}, 0);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 用于表示字体的图标
|
|
|
|
*/
|
|
|
|
Icon FONT_ICON = IOKit.readIcon("/com/fr/design/images/gui/color/foreground.png");
|
|
|
|
}
|