IT. Expert System.

Android Reference

Paint_Delegate


android.graphics

Class Paint_Delegate



  • public class Paint_Delegate
    extends Object
    Delegate implementing the native methods of android.graphics.Paint Through the layoutlib_create tool, the original native methods of Paint have been replaced by calls to methods of the same name in this delegate class. This class behaves like the original native implementation, but in Java, keeping previously native data into its own objects and mapping them to int that are sent back and forth between it and the original Paint class.
    See Also:
    DelegateManager
    • Method Detail

      • getDelegate

        public static Paint_Delegate getDelegate(int native_paint)
      • getFonts

        public List<android.graphics.Paint_Delegate.FontInfo> getFonts()
        Returns the list of Font objects. The first item is the main font, the rest are fall backs for characters not present in the main font.
      • isAntiAliased

        public boolean isAntiAliased()
      • isFilterBitmap

        public boolean isFilterBitmap()
      • getStyle

        public int getStyle()
      • getColor

        public int getColor()
      • getAlpha

        public int getAlpha()
      • setAlpha

        public void setAlpha(int alpha)
      • getTextAlign

        public int getTextAlign()
      • getStrokeWidth

        public float getStrokeWidth()
      • getJavaStrokeMiter

        public float getJavaStrokeMiter()
        returns the value of stroke miter needed by the java api.
      • getJavaCap

        public int getJavaCap()
      • getJavaJoin

        public int getJavaJoin()
      • getJavaStroke

        public java.awt.Stroke getJavaStroke()
      • getXfermode

        public Xfermode_Delegate getXfermode()
        Returns the Xfermode delegate or null if none have been set
        Returns:
        the delegate or null.
      • getShader

        public Shader_Delegate getShader()
        Returns the Shader delegate or null if none have been set
        Returns:
        the delegate or null.
      • getMaskFilter

        public MaskFilter_Delegate getMaskFilter()
        Returns the MaskFilter delegate or null if none have been set
        Returns:
        the delegate or null.
      • getRasterizer

        public Rasterizer_Delegate getRasterizer()
        Returns the Rasterizer delegate or null if none have been set
        Returns:
        the delegate or null.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 483 / 158666237. Delta: 0.05806 с