本文整理了Java中com.ait.lienzo.client.core.shape.Attributes.getFillAlpha()
方法的一些代码示例,展示了Attributes.getFillAlpha()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Attributes.getFillAlpha()
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Attributes
类名称:Attributes
方法名:getFillAlpha
暂无
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
@Override
public final double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
@Override
public final double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
@Override
public final double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: com.ahome-it/lienzo-core
@Override
public final double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Gets the alpha value (transparency) for this group.
*
* @return double between 0 and 1
*/
@Override
public double getFillAlpha()
{
return getAttributes().getFillAlpha();
}
代码示例来源:origin: com.ahome-it/lienzo-core
protected boolean dofillBoundsForSelection(final Context2D context, final Attributes attr, final double alpha)
{
if (attr.isFillBoundsForSelection())
{
if ((alpha * attr.getFillAlpha()) > 0)
{
final String color = getColorKey();
if (null != color)
{
final BoundingBox bbox = getBoundingBox();
if (null != bbox)
{
final double wide = bbox.getWidth();
if (wide > 0)
{
final double high = bbox.getHeight();
if (high > 0)
{
context.setFillColor(color);
final double offset = getSelectionBoundsOffset();
context.fillRect(bbox.getX() - offset, bbox.getY() - offset, wide + offset, high + offset);
}
}
}
}
}
return true;
}
return false;
}
代码示例来源:origin: ahome-it/lienzo-core
protected boolean dofillBoundsForSelection(final Context2D context, final Attributes attr, final double alpha)
{
if (attr.isFillBoundsForSelection())
{
if ((alpha * attr.getFillAlpha()) > 0)
{
final String color = getColorKey();
if (null != color)
{
final BoundingBox bbox = getBoundingBox();
if (null != bbox)
{
final double wide = bbox.getWidth();
if (wide > 0)
{
final double high = bbox.getHeight();
if (high > 0)
{
context.setFillColor(color);
final double offset = getSelectionBoundsOffset();
context.fillRect(bbox.getX() - offset, bbox.getY() - offset, wide + offset, high + offset);
}
}
}
}
}
return true;
}
return false;
}
代码示例来源:origin: ahome-it/lienzo-core
protected boolean dofillBoundsForSelection(final Context2D context, final Attributes attr, final double alpha)
{
if (attr.isFillBoundsForSelection())
{
if ((alpha * attr.getFillAlpha()) > 0)
{
final String color = getColorKey();
if (null != color)
{
final BoundingBox bbox = getBoundingBox();
if (null != bbox)
{
final double wide = bbox.getWidth();
if (wide > 0)
{
final double high = bbox.getHeight();
if (high > 0)
{
context.setFillColor(color);
final double offset = getSelectionBoundsOffset();
context.fillRect(bbox.getX() - offset, bbox.getY() - offset, wide + offset, high + offset);
}
}
}
}
}
return true;
}
return false;
}
代码示例来源:origin: com.ahome-it/lienzo-core
alpha = alpha * attr.getFillAlpha();
代码示例来源:origin: com.ahome-it/lienzo-core
alpha = alpha * attr.getFillAlpha();
代码示例来源:origin: ahome-it/lienzo-core
alpha = alpha * attr.getFillAlpha();
代码示例来源:origin: ahome-it/lienzo-core
alpha = alpha * attr.getFillAlpha();
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
alpha = alpha * attr.getFillAlpha();
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
@Override
protected void fill(final Context2D context, final Attributes attr, double alpha)
alpha = alpha * attr.getFillAlpha();
内容来源于网络,如有侵权,请联系作者删除!