本文整理了Java中com.ait.lienzo.client.core.shape.Text.getAttributes()
方法的一些代码示例,展示了Text.getAttributes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Text.getAttributes()
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Text
类名称:Text
方法名:getAttributes
暂无
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Returns the Font Family.
*
* @return String
*/
public String getFontFamily()
{
return getAttributes().getFontFamily();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets the {@link TextBaseLine}
*
* @param baseline
* @return this Text
*/
public Text setTextBaseLine(final TextBaseLine baseline)
{
getAttributes().setTextBaseLine(baseline);
return this;
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Returns the {@link TextAlign}
*
* @return {@link TextAlign}
*/
public TextAlign getTextAlign()
{
return getAttributes().getTextAlign();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the Font Size.
*
* @param size
* @return this Text
*/
public Text setFontSize(double size)
{
getAttributes().setFontSize(size);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Returns the {@link TextAlign}
*
* @return {@link TextAlign}
*/
public TextAlign getTextAlign()
{
return getAttributes().getTextAlign();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the {@link TextBaseLine}
*
* @param baseline
* @return this Text
*/
public Text setTextBaseLine(TextBaseLine baseline)
{
getAttributes().setTextBaseLine(baseline);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Returns the Font Family.
*
* @return String
*/
public String getFontFamily()
{
return getAttributes().getFontFamily();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the Font Style.
*
* @param style
* @return this Text
*/
public Text setFontStyle(String style)
{
getAttributes().setFontStyle(style);
return this;
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Returns the Font Style.
*
* @return String
*/
public String getFontStyle()
{
return getAttributes().getFontStyle();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets the {@link TextAlign}
*
* @param align
* @return this Text
*/
public Text setTextAlign(final TextAlign align)
{
getAttributes().setTextAlign(align);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Returns the {@link Text} String
*
* @return String
*/
public String getText()
{
return getAttributes().getText();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the {@link Text} String
*
* @return this Text
*/
public Text setText(String text)
{
getAttributes().setText(text);
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the {@link TextAlign}
*
* @param align
* @return this Text
*/
public Text setTextAlign(TextAlign align)
{
getAttributes().setTextAlign(align);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the Font Style.
*
* @param style
* @return this Text
*/
public Text setFontStyle(final String style)
{
getAttributes().setFontStyle(style);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the {@link TextAlign}
*
* @param align
* @return this Text
*/
public Text setTextAlign(final TextAlign align)
{
getAttributes().setTextAlign(align);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the {@link Text} Font Family
*
* @return this Text
*/
public Text setFontFamily(final String family)
{
getAttributes().setFontFamily(family);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the Font Size.
*
* @param size
* @return this Text
*/
public Text setFontSize(final double size)
{
getAttributes().setFontSize(size);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Returns the {@link TextAlign}
*
* @return {@link TextAlign}
*/
public TextAlign getTextAlign()
{
return getAttributes().getTextAlign();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the {@link Text} String
*
* @return this Text
*/
public Text setText(final String text)
{
getAttributes().setText(text);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Returns the {@link TextBaseLine}
*
* @return {@link TextBaseLine}
*/
public TextBaseLine getTextBaseLine()
{
return getAttributes().getTextBaseLine();
}
内容来源于网络,如有侵权,请联系作者删除!