本文整理了Java中com.ait.lienzo.client.core.shape.Rectangle.setShadow
方法的一些代码示例,展示了Rectangle.setShadow
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.setShadow
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Rectangle
类名称:Rectangle
方法名:setShadow
暂无
代码示例来源:origin: org.uberfire/uberfire-wires-core-client
"rgba(189,189,189,1)");
substrate.setFillGradient(substrateGradient).setShadow(new Shadow(substrateColor,
5,
3,
代码示例来源:origin: kiegroup/appformer
"rgba(189,189,189,1)");
substrate.setFillGradient(substrateGradient).setShadow(new Shadow(substrateColor,
5,
3,
代码示例来源:origin: ahome-it/lienzo-core
public ToolTip()
{
super(GroupType.GROUP, new PrimitiveFastArrayStorageEngine());
m_body = new Rectangle(1, 1).setCornerRadius(5).setStrokeWidth(1).setShadow(SHADOW);
m_tail = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setStrokeWidth(1).setShadow(SHADOW);
m_mask = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1));
m_text = new Text("", FONT_FAMILY, TEXT_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
m_labl = new Text("", FONT_FAMILY, LABL_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
add(m_body);
add(m_tail);
add(m_mask);
add(m_text);
add(m_labl);
setPadding(12);
setTailValue(12);
setVisible(false);
setListening(false);
setFillColor(ColorName.WHITESMOKE);
m_show = true;
}
代码示例来源:origin: com.ahome-it/lienzo-charts
protected PieChartTooltip build()
{
rectangle = new Rectangle(1, 1).setFillColor(TOOLTIP_COLOR).setCornerRadius(5).setStrokeWidth(1).setShadow(SHADOW);
triangle = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setFillColor(TOOLTIP_COLOR).setStrokeWidth(1).setShadow(SHADOW);
tmasking = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setFillColor(TOOLTIP_COLOR);
categoriesText = new Text("", FONT_FAMILY, CATEGORIES_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.LEFT).setTextBaseLine(TextBaseLine.MIDDLE);
valuesText = new Text("", FONT_FAMILY, VALUES_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.LEFT).setTextBaseLine(TextBaseLine.MIDDLE);
add(rectangle);
add(triangle);
add(tmasking);
add(categoriesText);
add(valuesText);
categoriesText.moveToTop();
valuesText.moveToTop();
setVisible(false);
setListening(false);
return this;
}
代码示例来源:origin: com.ahome-it/lienzo-charts
protected XYChartTooltip build()
{
rectangle = new Rectangle(1, 1).setFillColor(TOOLTIP_COLOR).setCornerRadius(5).setStrokeWidth(1).setShadow(SHADOW);
triangle = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setFillColor(TOOLTIP_COLOR).setStrokeWidth(1).setShadow(SHADOW);
tmasking = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setFillColor(TOOLTIP_COLOR);
categoriesText = new Text("", FONT_FAMILY, CATEGORIES_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.LEFT).setTextBaseLine(TextBaseLine.MIDDLE);
valuesText = new Text("", FONT_FAMILY, VALUES_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.LEFT).setTextBaseLine(TextBaseLine.MIDDLE);
add(rectangle);
add(triangle);
add(tmasking);
add(categoriesText);
add(valuesText);
categoriesText.moveToTop();
valuesText.moveToTop();
setVisible(false);
setListening(false);
return this;
}
代码示例来源:origin: com.ahome-it/lienzo-core
public ToolTip()
{
super(GroupType.GROUP, new PrimitiveFastArrayStorageEngine());
m_body = new Rectangle(1, 1).setCornerRadius(5).setStrokeWidth(1).setShadow(SHADOW);
m_tail = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setStrokeWidth(1).setShadow(SHADOW);
m_mask = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1));
m_text = new Text("", FONT_FAMILY, TEXT_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
m_labl = new Text("", FONT_FAMILY, LABL_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
add(m_body);
add(m_tail);
add(m_mask);
add(m_text);
add(m_labl);
setPadding(12);
setTailValue(12);
setVisible(false);
setListening(false);
setFillColor(ColorName.WHITESMOKE);
m_show = true;
}
代码示例来源:origin: ahome-it/lienzo-core
public ToolTip()
{
super(GroupType.GROUP, new PrimitiveFastArrayStorageEngine());
m_body = new Rectangle(1, 1).setCornerRadius(5).setStrokeWidth(1).setShadow(SHADOW);
m_tail = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1)).setStrokeWidth(1).setShadow(SHADOW);
m_mask = new Triangle(new Point2D(1, 1), new Point2D(1, 1), new Point2D(1, 1));
m_text = new Text("", FONT_FAMILY, TEXT_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
m_labl = new Text("", FONT_FAMILY, LABL_FONT_STYLE, FONT_SIZE).setFillColor(LABEL_COLOR).setTextAlign(TextAlign.CENTER).setTextBaseLine(TextBaseLine.MIDDLE);
add(m_body);
add(m_tail);
add(m_mask);
add(m_text);
add(m_labl);
setPadding(12);
setTailValue(12);
setVisible(false);
setListening(false);
setFillColor(ColorName.WHITESMOKE);
m_show = true;
}
内容来源于网络,如有侵权,请联系作者删除!