This is a static copy of a profile report

Home

PrintBehavior>PrintBehavior.PrintBehavior (Calls: 16, Time: 0.001 s)
Generated 16-Jul-2020 17:09:27 using performance time.
class method in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/PrintBehavior.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hgbehaviorfactory>localCreatesubfunction16
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
1
classdef PrintBehavior < ma...
160.001 s73.2%
All other lines  0.000 s26.8%
Totals  0.001 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
HGBehavior>HGBehavior.HGBehaviorclass method160.000 s25.5%
Self time (built-ins, overhead, etc.)  0.001 s74.5%
Totals  0.001 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function70
Non-code lines (comments, blank lines)47
Code lines (lines that can run)23
Code lines that did run1
Code lines that did not run22
Coverage (did run/can run)4.35 %
Function listing
time 
Calls 
 line
< 0.001 
     16 
   1
classdef PrintBehavior < matlab.graphics.internal.HGBehavior 
   2 
% This is an undocumented class and may be removed in a future release.
   3 

   4 
% Copyright 2013-2018 The MathWorks, Inc.
   5 

   6 
properties (Constant)
   7 
    %NAME Property
   8 
    Name = 'Print';
   9 
end
  10 

  11 
properties
  12 
    PrePrintCallback = [];
  13 
    PostPrintCallback = [];
  14 
    
  15 
    %WARNONCUSTOMRESIZEFCN Property should be either 'on/off' string
  16 
    WarnOnCustomResizeFcn = 'on';
  17 

  18 
    % CheckDataDescriptorBehavior 'on' tells the print and export code
  19 
    % to skip the object when applying style changes if the object
  20 
    % has a *disabled* DataDescriptor behavior. Set the value to 'off'
  21 
    % to apply printing style changes to an object even if the
  22 
    % DataDescriptor behavior is disabled.
  23 
    CheckDataDescriptorBehavior = 'on';
  24 
end
  25 

  26 

  27 
properties (Transient)
  28 
    %SERIALIZE Property 
  29 
    Serialize = true;
  30 
end
  31 

  32 
methods 
  33 
    function set.WarnOnCustomResizeFcn(obj,value)
  34 
        % values = 'on/off'
  35 
        validatestring(value,{'on','off'},'','WarnOnCustomResizeFcn');
  36 
        obj.WarnOnCustomResizeFcn = value;
  37 
    end
  38 
    
  39 
    function thisSerialize = saveobj(this)
  40 
        if this.Serialize
  41 
            thisSerialize = this;
  42 
        else
  43 
            thisSerialize = [];
  44 
        end
  45 
    end
  46 

  47 
end   % set and get functions 
  48 

  49 
methods
  50 
    function ret = dosupport(~,hTarget)
  51 
        % only allowed on Figure, Axes, and ScribeGrid
  52 
        ret = ishghandle(hTarget, 'Figure') || ...
  53 
            ishghandle(hTarget, 'Axes') || ...
  54 
            ishghandle(hTarget, 'polaraxes') || ...
  55 
            ishghandle(hTarget, 'geoaxes') || ...
  56 
            ishghandle(hTarget, 'Legend') || ...
  57 
            (ishghandle(hTarget) && ...
  58 
            (isa(hTarget, 'matlab.graphics.shape.internal.ScribeGrid') || ...
  59 
            isa(hTarget, 'matlab.graphics.chart.Chart') || ...
  60 
            isa(hTarget, 'matlab.graphics.controls.AxesToolbar') || ...
  61 
            isa(hTarget, 'bigimageshow') || ...
  62 
            isa(hTarget, 'matlab.graphics.shape.internal.PointDataTip')) || ...
  63 
            isa(hTarget, 'matlab.graphics.primitive.world.CompositeMarker'));
  64 
            
  65 
    end
  66 
end  
  67 

  68 
end  % classdef
  69 

  70